Skip to content

Instantly share code, notes, and snippets.

@zhaocai
Created April 9, 2013 09:46
Show Gist options
  • Save zhaocai/5344474 to your computer and use it in GitHub Desktop.
Save zhaocai/5344474 to your computer and use it in GitHub Desktop.
{'Fb': {'word': 'Fb', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.build(:${1:factory})${2}', 'description': 'Factory.build(:${1:factory})${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 24, 'menu_template': '[nsnip] Factory.build(:${1:factory})${2}', 'real_name': 'Fb', 'action__pattern': '^snippet\s\+Fb$', 'menu_abbr': 'Factory.build(:${1:factory})${2}'}, 'yD': {'word': 'yD', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'File.open(${1:TARGET}, "wb") { |f| YAML::dump(${2:object}, f)}', 'description': 'File.open(${1:TARGET}, "wb") { |f| YAML::dump(${2:object}, f)}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 455, 'menu_template': '[nsnip] File.open(${1: }, "wb") { |f| YAML::dump(${2:object}, f)}', 'real_name': 'yamlDump', 'action__pattern': '^snippet\s\+yamlDump$', 'menu_abbr': 'File.open(${1: }, "wb") { |f| YAML::dump(${2:object}, f)}'}, 'Fd': {'word': 'Fd', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.define :${1:model} do |factory|
factory.${3:attribute} ${4}
end', 'description': 'Factory.define :${1:model} do |factory|
factory.${3:attribute} ${4}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 3, 'menu_template': '[nsnip] Factory.define :${1:model} do |factory| factory.${3:attribute} ${4} end', 'real_name': 'Fd', 'action__pattern': '^snippet\s\+Fd$', 'menu_abbr': 'Factory.define :${1:model} do |factory| factory.${3:attribute} ${4} end'}, 'shvpre': {'word': 'shvpre', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_validate_presence_of :${1:attribute}', 'description': 'should_validate_presence_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 30, 'menu_template': '[nsnip] should_validate_presence_of :${1:attribute}', 'real_name': 'shvpre', 'action__pattern': '^snippet\s\+shvpre$', 'menu_abbr': 'should_validate_presence_of :${1:attribute}'}, 'Fc': {'word': 'Fc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.create(:${1:factory})', 'description': 'Factory.create(:${1:factory})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 26, 'menu_template': '[nsnip] Factory.create(:${1:factory})', 'real_name': 'Fc', 'action__pattern': '^snippet\s\+Fc$', 'menu_abbr': 'Factory.create(:${1:factory})'}, 'yL': {'word': 'yL', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'YAML::load( File.read(${1:TARGET}) )', 'description': 'YAML::load( File.read(${1:TARGET}) )', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 451, 'menu_template': '[nsnip] YAML::load( File.read(${1: }) )', 'real_name': 'yamlLoad', 'action__pattern': '^snippet\s\+yamlLoad$', 'menu_abbr': 'YAML::load( File.read(${1: }) )'}, 'shnotc': {'word': 'shnotc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_not_change "${1:expression}"', 'description': 'should_not_change "${1:expression}"', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 10, 'menu_template': '[nsnip] should_not_change "${1:expression}"', 'real_name': 'shnotc', 'action__pattern': '^snippet\s\+shnotc$', 'menu_abbr': 'should_not_change "${1:expression}"'}, 'def_delegators': {'word': 'def_delegators', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def_delegators :${1:@del_obj}, :${2:del_methods}', 'description': 'def_delegators :${1:@del_obj}, :${2:del_methods}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 128, 'menu_template': '[nsnip] def_delegators :${1:@del_obj}, :${2:del_methods}', 'real_name': 'def_delegators', 'action__pattern': '^snippet\s\+def_delegators$', 'menu_abbr': 'def_delegators :${1:@del_obj}, :${2:del_methods}'}, 'itshhindexu': {'word': 'itshhindexu', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_index(:${1:index}).unique(${2:true}) }', 'description': 'it { should have_index(:${1:index}).unique(${2:true}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 46, 'menu_template': '[nsnip] it { should have_index(:${1:index}).unique(${2:true}) }', 'real_name': 'itshhindexu', 'action__pattern': '^snippet\s\+itshhindexu$', 'menu_abbr': 'it { should have_index(:${1:index}).unique(${2:true}) }'}, 'Fw': {'word': 'Fw', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory(:${1:factory}, :${2})', 'description': 'Factory(:${1:factory}, :${2})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 32, 'menu_template': '[nsnip] Factory(:${1:factory}, :${2})', 'real_name': 'Fw', 'action__pattern': '^snippet\s\+Fw$', 'menu_abbr': 'Factory(:${1:factory}, :${2})'}, 'each_index': {'word': 'each_index', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_index {|${1:#:variable}| ${2} }', 'description': 'each_index {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 84, 'menu_template': '[nsnip] each_index {|${1:#:variable}| ${2} }', 'real_name': 'each_index', 'action__pattern': '^snippet\s\+each_index$', 'menu_abbr': 'each_index {|${1:#:variable}| ${2} }'}, 'itshhdbc': {'word': 'itshhdbc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_db_column(:${1:column}).of_type(:${2:type}) }', 'description': 'it { should have_db_column(:${1:column}).of_type(:${2:type}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 40, 'menu_template': '[nsnip] it { should have_db_column(:${1:column}).of_type(:${2:type}) }', 'real_name': 'itshhdbc', 'action__pattern': '^snippet\s\+itshhdbc$', 'menu_abbr': 'it { should have_db_column(:${1:column}).of_type(:${2:type}) }'}, 'logger': {'word': 'logger', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'require ''logging''
logger = Logging.logger[''${1:Default}'']
logger_file = File.join(Dir.home, ''${2:Library/Logs/logging/default.log}'')
logger.add_appenders(
Logging.appenders.stdout,
Logging.appenders.file(logger_file)
)
logger.level = :debug
${0}', 'description': 'require ''logging''
logger = Logging.logger[''${1:Default}'']
logger_file = File.join(Dir.home, ''${2:Library/Logs/logging/default.log}'')
logger.add_appenders(
Logging.appenders.stdout,
Logging.appenders.file(logger_file)
)
logger.level = :debug
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 216, 'menu_template': '[nsnip] Logging.logger', 'real_name': 'logger', 'action__pattern': '^snippet\s\+logger$', 'menu_abbr': 'Logging.logger'}, 'itrend': {'word': 'itrend', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { response.should render_template(:${1:template}) }', 'description': 'it { response.should render_template(:${1:template}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_rails.snip', 'action__line': 5, 'menu_template': '[nsnip] it { response.should render_template(:${1:template}) }', 'real_name': 'itrend', 'action__pattern': '^snippet\s\+itrend$', 'menu_abbr': 'it { response.should render_template(:${1:template}) }'}, 'shhm': {'word': 'shhm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_many :${1:association}', 'description': 'should_have_many :${1:association}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 52, 'menu_template': '[nsnip] should_have_many :${1:association}', 'real_name': 'shhm', 'action__pattern': '^snippet\s\+shhm$', 'menu_abbr': 'should_have_many :${1:association}'}, 'Enum': {'word': 'Enum', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'include Enumerable
def each(&block)
${1}
end', 'description': 'include Enumerable
def each(&block)
${1}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 95, 'menu_template': '[nsnip] include Enumerable def each(&block) ${1} end', 'real_name': 'Enum', 'action__pattern': '^snippet\s\+Enum$', 'menu_abbr': 'include Enumerable def each(&block) ${1} end'}, 'shho': {'word': 'shho', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_one :${1:association}', 'description': 'should_have_one :${1:association}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 54, 'menu_template': '[nsnip] should_have_one :${1:association}', 'real_name': 'shho', 'action__pattern': '^snippet\s\+shho$', 'menu_abbr': 'should_have_one :${1:association}'}, 'vnumeric': {'word': 'vnumeric', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_numericality_of :${1:attribute}', 'description': 'validates_numericality_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 38, 'menu_template': '[nsnip] validates_numericality_of :${1:attribute}', 'real_name': 'vnumeric', 'action__pattern': '^snippet\s\+vnumeric$', 'menu_abbr': 'validates_numericality_of :${1:attribute}'}, 'Marshal_dump': {'word': 'Marshal_dump', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'File.open(${1:"path/to/file.dump"}, "wb") { |${2:f}| Marshal.dump(${3:obj}, $2) }${4}', 'description': 'File.open(${1:"path/to/file.dump"}, "wb") { |${2:f}| Marshal.dump(${3:obj}, $2) }${4}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 419, 'menu_template': '[nsnip] File.open(${1:"path/to/file.dump"}, "wb") { |${2:f}| Marshal.dump(${3:obj}, $2) }${4}', 'real_name': 'Marshal_dump', 'action__pattern': '^snippet\s\+Marshal_dump$', 'menu_abbr': 'File.open(${1:"path/to/file.dump"}, "wb") { |${2:f}| Marshal.dump(${3:obj}, $2) }${4}'}, 'Forwardable': {'word': 'Forwardable', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'extend Forwardable${0}', 'description': 'extend Forwardable${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 109, 'menu_template': '[nsnip] extend Forwardable${0}', 'real_name': 'Forwardable', 'action__pattern': '^snippet\s\+Forwardable$', 'menu_abbr': 'extend Forwardable${0}'}, 'itshroute': {'word': 'itshroute', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should route(:${1:method}, "/${2:path}").to(:action => :${3:action}) }', 'description': 'it { should route(:${1:method}, "/${2:path}").to(:action => :${3:action}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 30, 'menu_template': '[nsnip] it { should route(:${1:method}, "/${2:path}").to(:action => :${3:action}) }', 'real_name': 'itshroute', 'action__pattern': '^snippet\s\+itshroute$', 'menu_abbr': 'it { should route(:${1:method}, "/${2:path}").to(:action => :${3:action}) }'}, 'attr_accessor': {'word': 'attr_accessor', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'attr_accessor :${1:attr_names}', 'description': 'attr_accessor :${1:attr_names}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 65, 'menu_template': '[nsnip] attr_accessor :${1:attr_names}', 'real_name': 'attr_accessor', 'action__pattern': '^snippet\s\+attr_accessor$', 'menu_abbr': 'attr_accessor :${1:attr_names}'}, 'assert_nothing_raised': {'word': 'assert_nothing_raised', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_nothing_raised(${1:Exception}) { ${2} }', 'description': 'assert_nothing_raised(${1:Exception}) { ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 41, 'menu_template': '[nsnip] assert_nothing_raised(${1:Exception}) { ${2} }', 'real_name': 'assert_nothing_raised', 'action__pattern': '^snippet\s\+assert_nothing_raised$', 'menu_abbr': 'assert_nothing_raised(${1:Exception}) { ${2} }'}, 'all': {'word': 'all', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'all? { |${1:e}| ${2} }', 'description': 'all? { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 349, 'menu_template': '[nsnip] all? { |${1:e}| ${2} }', 'real_name': 'all', 'action__pattern': '^snippet\s\+all$', 'menu_abbr': 'all? { |${1:e}| ${2} }'}, 'date': {'word': 'date', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': '`strftime("%d %b %Y")`${0}', 'description': '`strftime("%d %b %Y")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 3, 'menu_template': '[nsnip] `strftime("%d %b %Y")`${0}', 'real_name': 'date', 'action__pattern': '^snippet\s\+date$', 'menu_abbr': '`strftime("%d %b %Y")`${0}'}, 'F': {'word': 'F', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory(:${1:factory})${2}', 'description': 'Factory(:${1:factory})${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 22, 'menu_template': '[nsnip] Factory(:${1:factory})${2}', 'real_name': 'F', 'action__pattern': '^snippet\s\+F$', 'menu_abbr': 'Factory(:${1:factory})${2}'}, 'S': {'word': 'S', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Sham.${1:attribute} { Faker::${2:Module}.${3:method} }', 'description': 'Sham.${1:attribute} { Faker::${2:Module}.${3:method} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 19, 'menu_template': '[nsnip] Sham.${1:attribute} { Faker::${2:Module}.${3:method} }', 'real_name': 'S', 'action__pattern': '^snippet\s\+S$', 'menu_abbr': 'Sham.${1:attribute} { Faker::${2:Module}.${3:method} }'}, 'assert_kind_of': {'word': 'assert_kind_of', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_kind_of(${1:ExpectedKind}, ${2:actual_instance})${3}', 'description': 'assert_kind_of(${1:ExpectedKind}, ${2:actual_instance})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 27, 'menu_template': '[nsnip] assert_kind_of(${1:ExpectedKind}, ${2:actual_instance})${3}', 'real_name': 'assert_kind_of', 'action__pattern': '^snippet\s\+assert_kind_of$', 'menu_abbr': 'assert_kind_of(${1:ExpectedKind}, ${2:actual_instance})${3}'}, 'each_with_index': {'word': 'each_with_index', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_with_index {|${1:#:variable}| ${2} }', 'description': 'each_with_index {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 96, 'menu_template': '[nsnip] each_with_index {|${1:#:variable}| ${2} }', 'real_name': 'each_with_index', 'action__pattern': '^snippet\s\+each_with_index$', 'menu_abbr': 'each_with_index {|${1:#:variable}| ${2} }'}, 'itshlengtheq': {'word': 'itshlengtheq', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should ensure_length_of(:${1:attribute}).
is_equal_to(${2:num}) }', 'description': 'it { should ensure_length_of(:${1:attribute}).
is_equal_to(${2:num}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 29, 'menu_template': '[nsnip] it { should ensure_length_of(:${1:attribute}). is_equal_to(${2:num}) }', 'real_name': 'itshlengtheq', 'action__pattern': '^snippet\s\+itshlengtheq$', 'menu_abbr': 'it { should ensure_length_of(:${1:attribute}). is_equal_to(${2:num}) }'}, 'shvacc': {'word': 'shvacc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_validate_acceptance_of :${1:attribute}', 'description': 'should_validate_acceptance_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 26, 'menu_template': '[nsnip] should_validate_acceptance_of :${1:attribute}', 'real_name': 'shvacc', 'action__pattern': '^snippet\s\+shvacc$', 'menu_abbr': 'should_validate_acceptance_of :${1:attribute}'}, 'pry': {'word': 'pry', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'binding.pry
${0}', 'description': 'binding.pry
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 204, 'menu_template': '[nsnip] binding.pry', 'real_name': 'pry', 'action__pattern': '^snippet\s\+pry$', 'menu_abbr': 'binding.pry'}, 'enc': {'word': 'enc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '# coding: utf-8
${0}', 'description': '# coding: utf-8
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 61, 'menu_template': '[nsnip] # coding: utf-8 ${0}', 'real_name': 'encoding', 'action__pattern': '^snippet\s\+encoding$', 'menu_abbr': '# coding: utf-8 ${0}'}, 'Fs': {'word': 'Fs', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.stub(:${1:factory})', 'description': 'Factory.stub(:${1:factory})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 30, 'menu_template': '[nsnip] Factory.stub(:${1:factory})', 'real_name': 'Fs', 'action__pattern': '^snippet\s\+Fs$', 'menu_abbr': 'Factory.stub(:${1:factory})'}, 'itshvuniq': {'word': 'itshvuniq', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should validate_uniqueness_of :${1:attribute} }', 'description': 'it { should validate_uniqueness_of :${1:attribute} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 14, 'menu_template': '[nsnip] it { should validate_uniqueness_of :${1:attribute} }', 'real_name': 'itshvuniq', 'action__pattern': '^snippet\s\+itshvuniq$', 'menu_abbr': 'it { should validate_uniqueness_of :${1:attribute} }'}, 'xml_load': {'word': 'xml_load', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'REXML::Document.new(File.read(${1:"path/to/file"}))${2}', 'description': 'REXML::Document.new(File.read(${1:"path/to/file"}))${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 430, 'menu_template': '[nsnip] REXML::Document.new(File.read(${1:"path/to/file"}))${2}', 'real_name': 'xml_load', 'action__pattern': '^snippet\s\+xml_load$', 'menu_abbr': 'REXML::Document.new(File.read(${1:"path/to/file"}))${2}'}, 'itshnat': {'word': 'itshnat', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should_not assign_to(:${1:model}) }', 'description': 'it { should_not assign_to(:${1:model}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 6, 'menu_template': '[nsnip] it { should_not assign_to(:${1:model}) }', 'real_name': 'itshnat', 'action__pattern': '^snippet\s\+itshnat$', 'menu_abbr': 'it { should_not assign_to(:${1:model}) }'}, 'pL': {'word': 'pL', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'Plist::parse_xml( File.read(${1:TARGET}) )', 'description': 'Plist::parse_xml( File.read(${1:TARGET}) )', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 460, 'menu_template': '[nsnip] Plist::parse_xml( File.read(${1: }) )', 'real_name': 'plistLoad', 'action__pattern': '^snippet\s\+plistLoad$', 'menu_abbr': 'Plist::parse_xml( File.read(${1: }) )'}, 'edn': {'word': 'edn', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'end${0}', 'description': 'end${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 52, 'menu_template': '[nsnip] => end?', 'real_name': 'edn', 'action__pattern': '^snippet\s\+edn$', 'menu_abbr': '=> end?'}, 'itsh': {'word': 'itsh', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it "should ${1:description}" do
${2:model}.should ${3}
end', 'description': 'it "should ${1:description}" do
${2:model}.should ${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 32, 'menu_template': '[nsnip] it "should ${1:description}" do ${2:model}.should ${3} end', 'real_name': 'itsh', 'action__pattern': '^snippet\s\+itsh$', 'menu_abbr': 'it "should ${1:description}" do ${2:model}.should ${3} end'}, 'shss': {'word': 'shss', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_set_session(:${1:key}) { ${2} }', 'description': 'should_set_session(:${1:key}) { ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 66, 'menu_template': '[nsnip] should_set_session(:${1:key}) { ${2} }', 'real_name': 'shss', 'action__pattern': '^snippet\s\+shss$', 'menu_abbr': 'should_set_session(:${1:key}) { ${2} }'}, 'itshlengthl': {'word': 'itshlengthl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should ensure_length_of(:${1:attribute}).
is_at_least(${2:least}) }', 'description': 'it { should ensure_length_of(:${1:attribute}).
is_at_least(${2:least}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 26, 'menu_template': '[nsnip] it { should ensure_length_of(:${1:attribute}). is_at_least(${2:least}) }', 'real_name': 'itshlengthl', 'action__pattern': '^snippet\s\+itshlengthl$', 'menu_abbr': 'it { should ensure_length_of(:${1:attribute}). is_at_least(${2:least}) }'}, 'assert_respond_to': {'word': 'assert_respond_to', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_respond_to(${1:object}, :${2:method})${3}', 'description': 'assert_respond_to(${1:object}, :${2:method})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 43, 'menu_template': '[nsnip] assert_respond_to(${1:object}, :${2:method})${3}', 'real_name': 'assert_respond_to', 'action__pattern': '^snippet\s\+assert_respond_to$', 'menu_abbr': 'assert_respond_to(${1:object}, :${2:method})${3}'}, 'vlength': {'word': 'vlength', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_length_of :${1:attribute}, ${2}', 'description': 'validates_length_of :${1:attribute}, ${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 36, 'menu_template': '[nsnip] validates_length_of :${1:attribute}, ${2}', 'real_name': 'vlength', 'action__pattern': '^snippet\s\+vlength$', 'menu_abbr': 'validates_length_of :${1:attribute}, ${2}'}, 'fileExpandPath': {'word': 'fileExpandPath', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'File.expand_path(${1:TARGET})', 'description': 'File.expand_path(${1:TARGET})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 245, 'menu_template': '[nsnip] File.expand_path(${1: })', 'real_name': 'fileExpandPath', 'action__pattern': '^snippet\s\+fileExpandPath$', 'menu_abbr': 'File.expand_path(${1: })'}, 'backtrace': {'description': 'puts "[ backtrace ]\n #{caller.join("\n ")}"
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'menu': '[nsnip] puts "[ backtrace ]\n #{caller.join("\n ")}" ${0}', 'menu_template': '[nsnip] puts "[ backtrace ]\n #{caller.join("\n ")}" ${0}', 'real_name': 'backtrace', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'puts "[ backtrace ]\n #{caller.join("\n ")}"
${0}', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'backtrace', 'action__pattern': '^snippet\s\+backtrace$', 'rank': 8, 'action__line': 210, 'menu_abbr': 'puts "[ backtrace ]\n #{caller.join("\n ")}" ${0}'}, 'ife': {'word': 'ife', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'if ${1:condition}
${2:TARGET}
else
${3}
end', 'description': 'if ${1:condition}
${2:TARGET}
else
${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 181, 'menu_template': '[nsnip] if ${1:condition} ${2: } else ${3} end', 'real_name': 'ife', 'action__pattern': '^snippet\s\+ife$', 'menu_abbr': 'if ${1:condition} ${2: } else ${3} end'}, 'alias_method': {'word': 'alias_method', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'alias_method :${1:new_name}, :${2:old_name}', 'description': 'alias_method :${1:new_name}, :${2:old_name}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 130, 'menu_template': '[nsnip] alias_method :${1:new_name}, :${2:old_name}', 'real_name': 'alias_method', 'action__pattern': '^snippet\s\+alias_method$', 'menu_abbr': 'alias_method :${1:new_name}, :${2:old_name}'}, 'habtm': {'word': 'habtm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'has_and_belongs_to_many :${1}', 'description': 'has_and_belongs_to_many :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 10, 'menu_template': '[nsnip] has_and_belongs_to_many :${1}', 'real_name': 'habtm', 'action__pattern': '^snippet\s\+habtm$', 'menu_abbr': 'has_and_belongs_to_many :${1}'}, 'itshsetflt': {'word': 'itshsetflt', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should set_the_flash.to(/${1:message}/i) }', 'description': 'it { should set_the_flash.to(/${1:message}/i) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 44, 'menu_template': '[nsnip] it { should set_the_flash.to(/${1:message}/i) }', 'real_name': 'itshsetflt', 'action__pattern': '^snippet\s\+itshsetflt$', 'menu_abbr': 'it { should set_the_flash.to(/${1:message}/i) }'}, 'assert_raises': {'word': 'assert_raises', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_raises(${1:Exception}) { ${2} }', 'description': 'assert_raises(${1:Exception}) { ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 39, 'menu_template': '[nsnip] assert_raises(${1:Exception}) { ${2} }', 'real_name': 'assert_raises', 'action__pattern': '^snippet\s\+assert_raises$', 'menu_abbr': 'assert_raises(${1:Exception}) { ${2} }'}, 'until': {'word': 'until', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'until ${1:condition}
${2}
end', 'description': 'until ${1:condition}
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 284, 'menu_template': '[nsnip] until ${1:condition} ${2} end', 'real_name': 'until', 'action__pattern': '^snippet\s\+until$', 'menu_abbr': 'until ${1:condition} ${2} end'}, 'for': {'word': 'for', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'for i in ${1:1}..${2:5}
${2:TARGET}
end', 'description': 'for i in ${1:1}..${2:5}
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 255, 'menu_template': '[nsnip] for i in ${1:1}..${2:5} ${2: } end', 'real_name': 'for', 'action__pattern': '^snippet\s\+for$', 'menu_abbr': 'for i in ${1:1}..${2:5} ${2: } end'}, 'shrender_page_with_metadata': {'word': 'shrender_page_with_metadata', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_render_page_with_metadata :${1:meta} => ${2:content}', 'description': 'should_render_page_with_metadata :${1:meta} => ${2:content}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 84, 'menu_template': '[nsnip] should_render_page_with_metadata :${1:meta} => ${2:content}', 'real_name': 'shrender_page_with_metadata', 'action__pattern': '^snippet\s\+shrender_page_with_metadata$', 'menu_abbr': 'should_render_page_with_metadata :${1:meta} => ${2:content}'}, 'each_slice': {'word': 'each_slice', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_slice(${1:2}) { |${2:group}| ${3} }', 'description': 'each_slice(${1:2}) { |${2:group}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 317, 'menu_template': '[nsnip] each_slice(${1:2}) { |${2:group}| ${3} }', 'real_name': 'each_slice', 'action__pattern': '^snippet\s\+each_slice$', 'menu_abbr': 'each_slice(${1:2}) { |${2:group}| ${3} }'}, 'fep': {'word': 'fep', 'options': {...}, 'snip': 'File.expand_path(${1:TARGET})', 'description': 'File.expand_path(${1:TARGET})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 245, 'menu_template': '[nsnip] File.expand_path(${1: })', 'real_name': 'fileExpandPath', 'action__pattern': '^snippet\s\+fileExpandPath$', 'menu_abbr': 'File.expand_path(${1: })'}, 'fet': {'word': 'fet', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'fetch(${1:name}) { |${2:key}| ${3} }', 'description': 'fetch(${1:name}) { |${2:key}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 359, 'menu_template': '[nsnip] fetch(${1:name}) { |${2:key}| ${3} }', 'real_name': 'fet', 'action__pattern': '^snippet\s\+fet$', 'menu_abbr': 'fetch(${1:name}) { |${2:key}| ${3} }'}, 'assert_not_equal': {'word': 'assert_not_equal', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_not_equal(${1:unexpected}, ${2:actual})${3}', 'description': 'assert_not_equal(${1:unexpected}, ${2:actual})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 20, 'menu_template': '[nsnip] assert_not_equal', 'real_name': 'assert_not_equal', 'action__pattern': '^snippet\s\+assert_not_equal$', 'menu_abbr': 'assert_not_equal'}, 'blockValue': {'word': 'blockValue', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '{ |${1:v}| ${2} }', 'description': '{ |${1:v}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'neocomplcache__refresh': 0, 'rank': 8, 'action__line': 268, 'menu_template': '[nsnip] { |v| }', 'real_name': 'blockValue', 'action__pattern': '^snippet\s\+blockValue$', 'menu_abbr': '{ |v| }'}, 'plistDump': {'word': 'plistDump', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'File.open(${1:TARGET}, "wb") { |f| f.puts ${2:object}.to_plist}', 'description': 'File.open(${1:TARGET}, "wb") { |f| f.puts ${2:object}.to_plist}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 464, 'menu_template': '[nsnip] File.open(${1: }, "wb") { |f| f.puts ${2:object}.to_plist}', 'real_name': 'plistDump', 'action__pattern': '^snippet\s\+plistDump$', 'menu_abbr': 'File.open(${1: }, "wb") { |f| f.puts ${2:object}.to_plist}'}, 'assert_instance_of': {'word': 'assert_instance_of', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_instance_of(${1:ExpectedClass}, ${2:actual_instance})${3}', 'description': 'assert_instance_of(${1:ExpectedClass}, ${2:actual_instance})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 25, 'menu_template': '[nsnip] assert_instance_of(${1:ExpectedClass}, ${2:actual_instance})${3}', 'real_name': 'assert_instance_of', 'action__pattern': '^snippet\s\+assert_instance_of$', 'menu_abbr': 'assert_instance_of(${1:ExpectedClass}, ${2:actual_instance})${3}'}, 'each_key': {'word': 'each_key', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_key {|${1:#:variable}| ${2} }', 'description': 'each_key {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 88, 'menu_template': '[nsnip] each_key {|${1:#:variable}| ${2} }', 'real_name': 'each_key', 'action__pattern': '^snippet\s\+each_key$', 'menu_abbr': 'each_key {|${1:#:variable}| ${2} }'}, 'upto': {'word': 'upto', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'upto(${1:1.0/0.0}) { |${2:n}| ${3} }', 'description': 'upto(${1:1.0/0.0}) { |${2:n}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 167, 'menu_template': '[nsnip] upto(${1:1.0/0.0}) { |${2:n}| ${3} }', 'real_name': 'upto', 'action__pattern': '^snippet\s\+upto$', 'menu_abbr': 'upto(${1:1.0/0.0}) { |${2:n}| ${3} }'}, 'itshrespw': {'word': 'itshrespw', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should respond_with(:${1:success|redirect|missing|error}) }', 'description': 'it { should respond_with(:${1:success|redirect|missing|error}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 24, 'menu_template': '[nsnip] it { should respond_with(:${1:success|redirect|missing|error}) }', 'real_name': 'itshrespw', 'action__pattern': '^snippet\s\+itshrespw$', 'menu_abbr': 'it { should respond_with(:${1:success|redirect|missing|error}) }'}, 'each_do': {'word': 'each_do', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each do |${1:#:variable}|
${2}
end', 'description': 'each do |${1:#:variable}|
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 70, 'menu_template': '[nsnip] each do |${1:#:variable}| ${2} end', 'real_name': 'each_do', 'action__pattern': '^snippet\s\+each_do$', 'menu_abbr': 'each do |${1:#:variable}| ${2} end'}, 'lambda': {'word': 'lambda', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'lambda {|${1:#:args}| ${2} }', 'description': 'lambda {|${1:#:args}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 112, 'menu_template': '[nsnip] lambda {|${1:#:args}| ${2} }', 'real_name': 'lambda', 'action__pattern': '^snippet\s\+lambda$', 'menu_abbr': 'lambda {|${1:#:args}| ${2} }'}, 'blockvar': {'description': '{|${1:#:var}|
${2:TARGET}
}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'menu': '[nsnip] {|var| ... }', 'menu_template': '[nsnip] {|var| ... }', 'real_name': 'blockvar', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '{|${1:#:var}|
${2:TARGET}
}', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'blockvar', 'action__pattern': '^snippet\s\+blockvar$', 'rank': 8, 'action__line': 40, 'menu_abbr': '{|var| ... }'}, 'shnal': {'word': 'shnal', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_not_allow_values_for :${1:attribute}, ${2:values}', 'description': 'should_not_allow_values_for :${1:attribute}, ${2:values}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 24, 'menu_template': '[nsnip] should_not_allow_values_for :${1:attribute}, ${2:values}', 'real_name': 'shnal', 'action__pattern': '^snippet\s\+shnal$', 'menu_abbr': 'should_not_allow_values_for :${1:attribute}, ${2:values}'}, 'times': {'word': 'times', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'times { |${1:n}| ${2} }', 'description': 'times { |${1:n}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 165, 'menu_template': '[nsnip] times { |${1:n}| ${2} }', 'real_name': 'times', 'action__pattern': '^snippet\s\+times$', 'menu_abbr': 'times { |${1:n}| ${2} }'}, 'encoding': {'word': 'encoding', 'options': {...}, 'snip': '# coding: utf-8
${0}', 'description': '# coding: utf-8
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 61, 'menu_template': '[nsnip] # coding: utf-8 ${0}', 'real_name': 'encoding', 'action__pattern': '^snippet\s\+encoding$', 'menu_abbr': '# coding: utf-8 ${0}'}, 'path_from_here': {'word': 'path_from_here', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}', 'description': 'File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 392, 'menu_template': '[nsnip] File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}', 'real_name': 'path_from_here', 'action__pattern': '^snippet\s\+path_from_here$', 'menu_abbr': 'File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}'}, 'sub': {'word': 'sub', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '${1:g}sub(${2:/pattern/}) { |${3:match}| ${4} }', 'description': '${1:g}sub(${2:/pattern/}) { |${3:match}| ${4} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 367, 'menu_template': '[nsnip] ${1:g}sub(${2:/pattern/}) { |${3:match}| ${4} }', 'real_name': 'sub', 'action__pattern': '^snippet\s\+sub$', 'menu_abbr': '${1:g}sub(${2:/pattern/}) { |${3:match}| ${4} }'}, 'vacc': {'word': 'vacc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_acceptance_of :${1:attribute}', 'description': 'validates_acceptance_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 24, 'menu_template': '[nsnip] validates_acceptance_of :${1:attribute}', 'real_name': 'vacc', 'action__pattern': '^snippet\s\+vacc$', 'menu_abbr': 'validates_acceptance_of :${1:attribute}'}, 'shrenderaform': {'word': 'shrenderaform', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_render_a_form${0}', 'description': 'should_render_a_form${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 82, 'menu_template': '[nsnip] should_render_a_form${0}', 'real_name': 'shrenderaform', 'action__pattern': '^snippet\s\+shrenderaform$', 'menu_abbr': 'should_render_a_form${0}'}, 'shhim': {'word': 'shhim', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_instance_methods :${1:method}', 'description': 'should_have_instance_methods :${1:method}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 40, 'menu_template': '[nsnip] should_have_instance_methods :${1:method}', 'real_name': 'shhim', 'action__pattern': '^snippet\s\+shhim$', 'menu_abbr': 'should_have_instance_methods :${1:method}'}, 'itres': {'word': 'itres', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { response.should be_${1} }', 'description': 'it { response.should be_${1} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_rails.snip', 'action__line': 3, 'menu_template': '[nsnip] it { response.should be_${1} }', 'real_name': 'itres', 'action__pattern': '^snippet\s\+itres$', 'menu_abbr': 'it { response.should be_${1} }'}, 'det': {'word': 'det', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'detect { |${1:e}| ${2} }', 'description': 'detect { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 357, 'menu_template': '[nsnip] detect { |${1:e}| ${2} }', 'real_name': 'det', 'action__pattern': '^snippet\s\+det$', 'menu_abbr': 'detect { |${1:e}| ${2} }'}, 'any': {'word': 'any', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'any? { |${1:e}| ${2} }', 'description': 'any? { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 351, 'menu_template': '[nsnip] any? { |${1:e}| ${2} }', 'real_name': 'any', 'action__pattern': '^snippet\s\+any$', 'menu_abbr': 'any? { |${1:e}| ${2} }'}, 'col': {'word': 'col', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'collect { |${1:e}| ${2} }', 'description': 'collect { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 355, 'menu_template': '[nsnip] collect { |${1:e}| ${2} }', 'real_name': 'col', 'action__pattern': '^snippet\s\+col$', 'menu_abbr': 'collect { |${1:e}| ${2} }'}, 'step': {'word': 'step', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'step(${1:2}) { |${2:n}| ${3} }', 'description': 'step(${1:2}) { |${2:n}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 163, 'menu_template': '[nsnip] step(${1:2}) { |${2:n}| ${3} }', 'real_name': 'step', 'action__pattern': '^snippet\s\+step$', 'menu_abbr': 'step(${1:2}) { |${2:n}| ${3} }'}, 'def_delegator': {'word': 'def_delegator', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def_delegator :${1:@del_obj}, :${2:del_meth}, :${3:new_name}', 'description': 'def_delegator :${1:@del_obj}, :${2:del_meth}, :${3:new_name}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 126, 'menu_template': '[nsnip] def_delegator :${1:@del_obj}, :${2:del_meth}, :${3:new_name}', 'real_name': 'def_delegator', 'action__pattern': '^snippet\s\+def_delegator$', 'menu_abbr': 'def_delegator :${1:@del_obj}, :${2:del_meth}, :${3:new_name}'}, 'itshvpre': {'word': 'itshvpre', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should validate_presence_of :${1:attribute} }', 'description': 'it { should validate_presence_of :${1:attribute} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 16, 'menu_template': '[nsnip] it { should validate_presence_of :${1:attribute} }', 'real_name': 'itshvpre', 'action__pattern': '^snippet\s\+itshvpre$', 'menu_abbr': 'it { should validate_presence_of :${1:attribute} }'}, 'Comparable': {'word': 'Comparable', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'include Comparable
def <=>(other)
${1}
end', 'description': 'include Comparable
def <=>(other)
${1}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 102, 'menu_template': '[nsnip] include Comparable def <=>(other) ${1} end', 'real_name': 'Comparable', 'action__pattern': '^snippet\s\+Comparable$', 'menu_abbr': 'include Comparable def <=>(other) ${1} end'}, 'Marshal_load': {'word': 'Marshal_load', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'File.open(${1:"path/to/file.dump"}, "rb") { |${2:f}| Marshal.load($2) }${3}', 'description': 'File.open(${1:"path/to/file.dump"}, "rb") { |${2:f}| Marshal.load($2) }${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 422, 'menu_template': '[nsnip] File.open(${1:"path/to/file.dump"}, "rb") { |${2:f}| Marshal.load($2) }${3}', 'real_name': 'Marshal_load', 'action__pattern': '^snippet\s\+Marshal_load$', 'menu_abbr': 'File.open(${1:"path/to/file.dump"}, "rb") { |${2:f}| Marshal.load($2) }${3}'}, 'min': {'word': 'min', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'min { |a, b|, ${1} }', 'description': 'min { |a, b|, ${1} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 373, 'menu_template': '[nsnip] min { |a, b|, ${1} }', 'real_name': 'min', 'action__pattern': '^snippet\s\+min$', 'menu_abbr': 'min { |a, b|, ${1} }'}, 'modeline': {'word': 'modeline', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': '${0}
# ~~ modeline ~~ [[[1 -----------------------------------------------------
#
# vim: set ft=ruby ts=2 sw=2 tw=78 fdm=marker fmr=[[[,]]] fdl=1 :', 'description': '${0}
# ~~ modeline ~~ [[[1 -----------------------------------------------------
#
# vim: set ft=ruby ts=2 sw=2 tw=78 fdm=marker fmr=[[[,]]] fdl=1 :', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 28, 'menu_template': '[nsnip] ~~ modeline ~~', 'real_name': 'modeline', 'action__pattern': '^snippet\s\+modeline$', 'menu_abbr': '~~ modeline ~~'}, 'itshhabtm_shoulda_macros_for_rspec_should_have_and_belong_to_many': {'word': 'itshhabtm_shoulda_macros_for_rspec_should_have_and_belong_to_many', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_and_belong_to_many :${1:association} }', 'description': 'it { should have_and_belong_to_many :${1:association} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 6, 'menu_template': '[nsnip] shoulda macros for rspec: should_have_and_belong_to_many', 'real_name': 'itshhabtm_shoulda_macros_for_rspec_should_have_and_belong_to_many', 'action__pattern': '^snippet\s\+itshhabtm_shoulda_macros_for_rspec_should_have_and_belong_to_many$', 'menu_abbr': 'shoulda macros for rspec: should_have_and_belong_to_many'}, 'defrescue': {'word': 'defrescue', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def ${1:#:method_name}
${2:TARGET}
rescue ${3:#:StandardError} => ${4:error}
${5}
end', 'description': 'def ${1:#:method_name}
${2:TARGET}
rescue ${3:#:StandardError} => ${4:error}
${5}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 13, 'menu_template': '[nsnip] def ... rescue ... end', 'real_name': 'defrescue', 'action__pattern': '^snippet\s\+defrescue$', 'menu_abbr': 'def ... rescue ... end'}, 'marshalDump': {'word': 'marshalDump', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'File.open(${1:TARGET}, "wb") { |f| Marshal::dump(${2:object}, f)}', 'description': 'File.open(${1:TARGET}, "wb") { |f| Marshal::dump(${2:object}, f)}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 473, 'menu_template': '[nsnip] File.open(${1: }, "wb") { |f| Marshal::dump(${2:object}, f)}', 'real_name': 'marshalDump', 'action__pattern': '^snippet\s\+marshalDump$', 'menu_abbr': 'File.open(${1: }, "wb") { |f| Marshal::dump(${2:object}, f)}'}, 'vuniqs': {'word': 'vuniqs', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_uniqueness_of :${1:attribute}, :scope => ${2:scope}', 'description': 'validates_uniqueness_of :${1:attribute}, :scope => ${2:scope}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 22, 'menu_template': '[nsnip] validates_uniqueness_of :${1:attribute}, :scope => ${2:scope}', 'real_name': 'vuniqs', 'action__pattern': '^snippet\s\+vuniqs$', 'menu_abbr': 'validates_uniqueness_of :${1:attribute}, :scope => ${2:scope}'}, 'shalvf': {'word': 'shalvf', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_allow_values_for :${1:attribute}, ${2}', 'description': 'should_allow_values_for :${1:attribute}, ${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 14, 'menu_template': '[nsnip] should_allow_values_for :${1:attribute}, ${2}', 'real_name': 'shalvf', 'action__pattern': '^snippet\s\+shalvf$', 'menu_abbr': 'should_allow_values_for :${1:attribute}, ${2}'}, 'vconfirm': {'word': 'vconfirm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_confirmation_of :${1:attribute}', 'description': 'validates_confirmation_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 28, 'menu_template': '[nsnip] validates_confirmation_of :${1:attribute}', 'real_name': 'vconfirm', 'action__pattern': '^snippet\s\+vconfirm$', 'menu_abbr': 'validates_confirmation_of :${1:attribute}'}, 'should_ensure_length_in_range': {'word': 'should_ensure_length_in_range', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_ensure_length_in_range :${1:attribute}, ${2:range}', 'description': 'should_ensure_length_in_range :${1:attribute}, ${2:range}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 18, 'menu_template': '[nsnip] should_ensure_length_in_range :${1:attribute}, ${2:range}', 'real_name': 'should_ensure_length_in_range', 'action__pattern': '^snippet\s\+should_ensure_length_in_range$', 'menu_abbr': 'should_ensure_length_in_range :${1:attribute}, ${2:range}'}, 'itshnsets': {'word': 'itshnsets', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should_not set_session(:${1:key}) }', 'description': 'it { should_not set_session(:${1:key}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 38, 'menu_template': '[nsnip] it { should_not set_session(:${1:key}) }', 'real_name': 'itshnsets', 'action__pattern': '^snippet\s\+itshnsets$', 'menu_abbr': 'it { should_not set_session(:${1:key}) }'}, 'when': {'word': 'when', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'when ${1:condition}
${2:TARGET}', 'description': 'when ${1:condition}
${2:TARGET}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 178, 'menu_template': '[nsnip] when ${1:condition} ${2: }', 'real_name': 'when', 'action__pattern': '^snippet\s\+when$', 'menu_abbr': 'when ${1:condition} ${2: }'}, 'itshhindex': {'word': 'itshhindex', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_index(:${1:index}) }', 'description': 'it { should have_index(:${1:index}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 44, 'menu_template': '[nsnip] it { should have_index(:${1:index}) }', 'real_name': 'itshhindex', 'action__pattern': '^snippet\s\+itshhindex$', 'menu_abbr': 'it { should have_index(:${1:index}) }'}, 'respond_to': {'word': 'respond_to', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'respond_to do |wants|
wants.${1:html}${2}
end', 'description': 'respond_to do |wants|
wants.${1:html}${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_controller.snip', 'action__line': 3, 'menu_template': '[nsnip] respond_to do |wants| wants.${1:html}${2} end', 'real_name': 'respond_to', 'action__pattern': '^snippet\s\+respond_to$', 'menu_abbr': 'respond_to do |wants| wants.${1:html}${2} end'}, 'hm': {'word': 'hm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'has_many :${1}', 'description': 'has_many :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 8, 'menu_template': '[nsnip] has_many :${1}', 'real_name': 'hm', 'action__pattern': '^snippet\s\+hm$', 'menu_abbr': 'has_many :${1}'}, 'ho': {'word': 'ho', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'has_one :${1}', 'description': 'has_one :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 6, 'menu_template': '[nsnip] has_one :${1}', 'real_name': 'ho', 'action__pattern': '^snippet\s\+ho$', 'menu_abbr': 'has_one :${1}'}, 'class': {'word': 'class', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'class ${1:`necosnip#ruby_class_name_from_filename()`} ${2:#:< ParentClass}
def initialize(${3:args})
${4}
end
end', 'description': 'class ${1:`necosnip#ruby_class_name_from_filename()`} ${2:#:< ParentClass}
def initialize(${3:args})
${4}
end
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 68, 'menu_template': '[nsnip] class ${1:`necosnip#ruby_class_name_from_filename()`} ${2:#:< ParentClass} def initialize(${3:args}) ${4} end end', 'real_name': 'class', 'action__pattern': '^snippet\s\+class$', 'menu_abbr': 'class ${1:`necosnip#ruby_class_name_from_filename()`} ${2:#:< ParentClass} def initialize(${3:args}) ${4} end end'}, 'after': {'word': 'after', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'after(:${1:each}) do
${2:TARGET}
end', 'description': 'after(:${1:each}) do
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 22, 'menu_template': '[nsnip] after(:${1:each}) do ${2: } end', 'real_name': 'after', 'action__pattern': '^snippet\s\+after$', 'menu_abbr': 'after(:${1:each}) do ${2: } end'}, 'itshvacc': {'word': 'itshvacc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should validate_acceptance_of(:${1:attribute}) }', 'description': 'it { should validate_acceptance_of(:${1:attribute}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 18, 'menu_template': '[nsnip] it { should validate_acceptance_of(:${1:attribute}) }', 'real_name': 'itshvacc', 'action__pattern': '^snippet\s\+itshvacc$', 'menu_abbr': 'it { should validate_acceptance_of(:${1:attribute}) }'}, 'vformat': {'word': 'vformat', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_format_of :${1:attribute}, :with => /${2:regex}/i', 'description': 'validates_format_of :${1:attribute}, :with => /${2:regex}/i', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 32, 'menu_template': '[nsnip] validates_format_of :${1:attribute}, :with => /${2:regex}/i', 'real_name': 'vformat', 'action__pattern': '^snippet\s\+vformat$', 'menu_abbr': 'validates_format_of :${1:attribute}, :with => /${2:regex}/i'}, 'fill': {'word': 'fill', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'fill(${1:range}) { |${2:i}| ${3} }', 'description': 'fill(${1:range}) { |${2:i}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 153, 'menu_template': '[nsnip] fill(${1:range}) { |${2:i}| ${3} }', 'real_name': 'fill', 'action__pattern': '^snippet\s\+fill$', 'menu_abbr': 'fill(${1:range}) { |${2:i}| ${3} }'}, 'itshvnum': {'word': 'itshvnum', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should validate_numericality_of(:${1:attribute}) }', 'description': 'it { should validate_numericality_of(:${1:attribute}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 20, 'menu_template': '[nsnip] it { should validate_numericality_of(:${1:attribute}) }', 'real_name': 'itshvnum', 'action__pattern': '^snippet\s\+itshvnum$', 'menu_abbr': 'it { should validate_numericality_of(:${1:attribute}) }'}, 'assert_not_nil': {'word': 'assert_not_nil', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_not_nil(${1:instance})${2}', 'description': 'assert_not_nil(${1:instance})${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 31, 'menu_template': '[nsnip] assert_not_nil(${1:instance})${2}', 'real_name': 'assert_not_nil', 'action__pattern': '^snippet\s\+assert_not_nil$', 'menu_abbr': 'assert_not_nil(${1:instance})${2}'}, 'par': {'word': 'par', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'partition { |${1:e}|, ${2} }', 'description': 'partition { |${1:e}|, ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 375, 'menu_template': '[nsnip] partition { |${1:e}|, ${2} }', 'real_name': 'par', 'action__pattern': '^snippet\s\+par$', 'menu_abbr': 'partition { |${1:e}|, ${2} }'}, 'shrend': {'word': 'shrend', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_render_template :${1}', 'description': 'should_render_template :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 72, 'menu_template': '[nsnip] should_render_template :${1}', 'real_name': 'shrend', 'action__pattern': '^snippet\s\+shrend$', 'menu_abbr': 'should_render_template :${1}'}, 'each_line': {'word': 'each_line', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_line {|${1:#:variable}| ${2} }', 'description': 'each_line {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 92, 'menu_template': '[nsnip] each_line {|${1:#:variable}| ${2} }', 'real_name': 'each_line', 'action__pattern': '^snippet\s\+each_line$', 'menu_abbr': 'each_line {|${1:#:variable}| ${2} }'}, 'gre': {'word': 'gre', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'grep(${1:/pattern/}) { |${2:match}| ${3} }', 'description': 'grep(${1:/pattern/}) { |${2:match}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 365, 'menu_template': '[nsnip] grep(${1:/pattern/}) { |${2:match}| ${3} }', 'real_name': 'gre', 'action__pattern': '^snippet\s\+gre$', 'menu_abbr': 'grep(${1:/pattern/}) { |${2:match}| ${3} }'}, 'itshatwk': {'word': 'itshatwk', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should assign_to(:${1:model}).with_kind_of(${2:klass}) }', 'description': 'it { should assign_to(:${1:model}).with_kind_of(${2:klass}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 8, 'menu_template': '[nsnip] it { should assign_to(:${1:model}).with_kind_of(${2:klass}) }', 'real_name': 'itshatwk', 'action__pattern': '^snippet\s\+itshatwk$', 'menu_abbr': 'it { should assign_to(:${1:model}).with_kind_of(${2:klass}) }'}, 'itshnsetfl': {'word': 'itshnsetfl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should_not set_the_flash }${0}', 'description': 'it { should_not set_the_flash }${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 46, 'menu_template': '[nsnip] it { should_not set_the_flash }${0}', 'real_name': 'itshnsetfl', 'action__pattern': '^snippet\s\+itshnsetfl$', 'menu_abbr': 'it { should_not set_the_flash }${0}'}, 'shbe': {'word': 'shbe', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '${1:target}.should be_${2:result}', 'description': '${1:target}.should be_${2:result}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 45, 'menu_template': '[nsnip] ${1: }.should be_${2:result}', 'real_name': 'shbe', 'action__pattern': '^snippet\s\+shbe$', 'menu_abbr': '${1: }.should be_${2:result}'}, 'attr_writer': {'word': 'attr_writer', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'attr_writer :${1:attr_names}', 'description': 'attr_writer :${1:attr_names}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 62, 'menu_template': '[nsnip] attr_writer :${1:attr_names}', 'real_name': 'attr_writer', 'action__pattern': '^snippet\s\+attr_writer$', 'menu_abbr': 'attr_writer :${1:attr_names}'}, 'vexclus': {'word': 'vexclus', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_exclusion_of :${1:attribute}, :in => ${2:range}', 'description': 'validates_exclusion_of :${1:attribute}, :in => ${2:range}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 30, 'menu_template': '[nsnip] validates_exclusion_of :${1:attribute}, :in => ${2:range}', 'real_name': 'vexclus', 'action__pattern': '^snippet\s\+vexclus$', 'menu_abbr': 'validates_exclusion_of :${1:attribute}, :in => ${2:range}'}, 'file_foreach': {'word': 'file_foreach', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'File.foreach(${1:"path/to/file"}) { |${2:line}| ${3} }', 'description': 'File.foreach(${1:"path/to/file"}) { |${2:line}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 142, 'menu_template': '[nsnip] File.foreach() { |line| .. }', 'real_name': 'file_foreach', 'action__pattern': '^snippet\s\+file_foreach$', 'menu_abbr': 'File.foreach() { |line| .. }'}, 'shbt': {'word': 'shbt', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_belong_to :${1:association}', 'description': 'should_belong_to :${1:association}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 48, 'menu_template': '[nsnip] should_belong_to :${1:association}', 'real_name': 'shbt', 'action__pattern': '^snippet\s\+shbt$', 'menu_abbr': 'should_belong_to :${1:association}'}, 'while': {'word': 'while', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'while ${1:condition}
${2}
end', 'description': 'while ${1:condition}
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 280, 'menu_template': '[nsnip] while ${1:condition} ${2} end', 'real_name': 'while', 'action__pattern': '^snippet\s\+while$', 'menu_abbr': 'while ${1:condition} ${2} end'}, 'if': {'word': 'if', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'if ${1:#:condition}
${2:TARGET}
end', 'description': 'if ${1:#:condition}
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 1, 'menu_template': '[nsnip] if ... end', 'real_name': 'if', 'action__pattern': '^snippet\s\+if$', 'menu_abbr': 'if ... end'}, 'common_require': {'word': 'common_require', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'require ''rubygems'' unless defined? Gem # rubygems is only needed in 1.8
require ''awesome_print''
require ''zucker/debug''
${0}', 'description': 'require ''rubygems'' unless defined? Gem # rubygems is only needed in 1.8
require ''awesome_print''
require ''zucker/debug''
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 49, 'menu_template': '[nsnip] require ''rubygems'' unless defined? Gem # rubygems is only needed in 1.8 require ''awesome_print'' require ''zucker/debug'' ${0}', 'real_name': 'common_require', 'action__pattern': '^snippet\s\+common_require$', 'menu_abbr': 'require ''rubygems'' unless defined? Gem # rubygems is only needed in 1.8 require ''awesome_print'' require ''zucker/debug'' ${0}'}, 'shnass': {'word': 'shnass', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_not_assign_to :${1}', 'description': 'should_not_assign_to :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 60, 'menu_template': '[nsnip] should_not_assign_to :${1}', 'real_name': 'shnass', 'action__pattern': '^snippet\s\+shnass$', 'menu_abbr': 'should_not_assign_to :${1}'}, 'app': {'word': 'app', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'if __FILE__ == $PROGRAM_NAME
${1}
end', 'description': 'if __FILE__ == $PROGRAM_NAME
${1}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 133, 'menu_template': '[nsnip] if __FILE__ == $PROGRAM_NAME ${1} end', 'real_name': 'app', 'action__pattern': '^snippet\s\+app$', 'menu_abbr': 'if __FILE__ == $PROGRAM_NAME ${1} end'}, 'itshsets': {'word': 'itshsets', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should set_session(:${1:message}) }', 'description': 'it { should set_session(:${1:message}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 34, 'menu_template': '[nsnip] it { should set_session(:${1:message}) }', 'real_name': 'itshsets', 'action__pattern': '^snippet\s\+itshsets$', 'menu_abbr': 'it { should set_session(:${1:message}) }'}, 'itred': {'word': 'itred', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { response.should redirect_to(${1:path}) }', 'description': 'it { response.should redirect_to(${1:path}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_rails.snip', 'action__line': 7, 'menu_template': '[nsnip] it { response.should redirect_to(${1:path}) }', 'real_name': 'itred', 'action__pattern': '^snippet\s\+itred$', 'menu_abbr': 'it { response.should redirect_to(${1:path}) }'}, 'benchmark': {'description': 'TESTS = ${1:10_000}
Benchmark.bmbm do |results|
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'menu': '[nsnip] TESTS = ${1:10_000} Benchmark.bmbm do |results| ${2} end', 'menu_template': '[nsnip] TESTS = ${1:10_000} Benchmark.bmbm do |results| ${2} end', 'real_name': 'benchmark', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'TESTS = ${1:10_000}
Benchmark.bmbm do |results|
${2}
end', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'benchmark', 'action__pattern': '^snippet\s\+benchmark$', 'rank': 8, 'action__line': 411, 'menu_abbr': 'TESTS = ${1:10_000} Benchmark.bmbm do |results| ${2} end'}, 'it': {'word': 'it', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it "should ${1:description}" do
${2:TARGET}
end', 'description': 'it "should ${1:description}" do
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 28, 'menu_template': '[nsnip] it "should ${1:description}" do ${2: } end', 'real_name': 'it', 'action__pattern': '^snippet\s\+it$', 'menu_abbr': 'it "should ${1:description}" do ${2: } end'}, 'class_from_name': {'word': 'class_from_name', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'split("::").inject(Object) { |par, const| par.const_get(const) }${0}', 'description': 'split("::").inject(Object) { |par, const| par.const_get(const) }${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 438, 'menu_template': '[nsnip] split("::").inject(Object) { |par, const| par.const_get(const) }${0}', 'real_name': 'class_from_name', 'action__pattern': '^snippet\s\+class_from_name$', 'menu_abbr': 'split("::").inject(Object) { |par, const| par.const_get(const) }${0}'}, 'date_time': {'word': 'date_time', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': '`strftime("%H:%M:%S")`${0}', 'description': '`strftime("%H:%M:%S")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 17, 'menu_template': '[nsnip] `strftime("%H:%M:%S")`${0}', 'real_name': 'date_time', 'action__pattern': '^snippet\s\+date_time$', 'menu_abbr': '`strftime("%H:%M:%S")`${0}'}, 'shred': {'word': 'shred', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_redirect_to "${1}"', 'description': 'should_redirect_to "${1}"', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 70, 'menu_template': '[nsnip] should_redirect_to "${1}"', 'real_name': 'shred', 'action__pattern': '^snippet\s\+shred$', 'menu_abbr': 'should_redirect_to "${1}"'}, 'sca': {'word': 'sca', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'scan(${1:/pattern/}) { |${2:match}| ${3} }', 'description': 'scan(${1:/pattern/}) { |${2:match}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 369, 'menu_template': '[nsnip] scan(${1:/pattern/}) { |${2:match}| ${3} }', 'real_name': 'sca', 'action__pattern': '^snippet\s\+sca$', 'menu_abbr': 'scan(${1:/pattern/}) { |${2:match}| ${3} }'}, 'shhroa': {'word': 'shhroa', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_readonly_attributes :${1:attribute}', 'description': 'should_have_readonly_attributes :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 44, 'menu_template': '[nsnip] should_have_readonly_attributes :${1:attribute}', 'real_name': 'shhroa', 'action__pattern': '^snippet\s\+shhroa$', 'menu_abbr': 'should_have_readonly_attributes :${1:attribute}'}, 'reverse_each': {'word': 'reverse_each', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'reverse_each { |${1:e}| ${2} }', 'description': 'reverse_each { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 326, 'menu_template': '[nsnip] reverse_each { |${1:e}| ${2} }', 'real_name': 'reverse_each', 'action__pattern': '^snippet\s\+reverse_each$', 'menu_abbr': 'reverse_each { |${1:e}| ${2} }'}, 'vuniq': {'word': 'vuniq', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_uniqueness_of :${1:attribute}', 'description': 'validates_uniqueness_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 20, 'menu_template': '[nsnip] validates_uniqueness_of :${1:attribute}', 'real_name': 'vuniq', 'action__pattern': '^snippet\s\+vuniq$', 'menu_abbr': 'validates_uniqueness_of :${1:attribute}'}, 'itshatw': {'word': 'itshatw', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should assign_to(:${1:model}).with(@${2}) }', 'description': 'it { should assign_to(:${1:model}).with(@${2}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 10, 'menu_template': '[nsnip] it { should assign_to(:${1:model}).with(@${2}) }', 'real_name': 'itshatw', 'action__pattern': '^snippet\s\+itshatw$', 'menu_abbr': 'it { should assign_to(:${1:model}).with(@${2}) }'}, 'itshnrwl': {'word': 'itshnrwl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should_not render_with_layout }${0}', 'description': 'it { should_not render_with_layout }${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 20, 'menu_template': '[nsnip] it { should_not render_with_layout }${0}', 'real_name': 'itshnrwl', 'action__pattern': '^snippet\s\+itshnrwl$', 'menu_abbr': 'it { should_not render_with_layout }${0}'}, 'shres': {'word': 'shres', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_respond_with :${1:success}', 'description': 'should_respond_with :${1:success}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 76, 'menu_template': '[nsnip] should_respond_with :${1:success}', 'real_name': 'shres', 'action__pattern': '^snippet\s\+shres$', 'menu_abbr': 'should_respond_with :${1:success}'}, 'shhabtm': {'word': 'shhabtm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_and_belong_to_many :${1:association}', 'description': 'should_have_and_belong_to_many :${1:association}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 50, 'menu_template': '[nsnip] should_have_and_belong_to_many :${1:association}', 'real_name': 'shhabtm', 'action__pattern': '^snippet\s\+shhabtm$', 'menu_abbr': 'should_have_and_belong_to_many :${1:association}'}, 'itshbe': {'word': 'itshbe', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it "should ${1:description}" do
${2:model}.should be_${3}
end', 'description': 'it "should ${1:description}" do
${2:model}.should be_${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 36, 'menu_template': '[nsnip] it "should ${1:description}" do ${2:model}.should be_${3} end', 'real_name': 'itshbe', 'action__pattern': '^snippet\s\+itshbe$', 'menu_abbr': 'it "should ${1:description}" do ${2:model}.should be_${3} end'}, 'def': {'word': 'def', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def ${1:#:method_name}
${2:TARGET}
end', 'description': 'def ${1:#:method_name}
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 7, 'menu_template': '[nsnip] def ... end', 'real_name': 'def', 'action__pattern': '^snippet\s\+def$', 'menu_abbr': 'def ... end'}, 'shass': {'word': 'shass', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_assign_to :${1}', 'description': 'should_assign_to :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 58, 'menu_template': '[nsnip] should_assign_to :${1}', 'real_name': 'shass', 'action__pattern': '^snippet\s\+shass$', 'menu_abbr': 'should_assign_to :${1}'}, 'delete_if': {'word': 'delete_if', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'delete_if { |${1:e}| ${2} }', 'description': 'delete_if { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 151, 'menu_template': '[nsnip] delete_if { |${1:e}| ${2} }', 'real_name': 'delete_if', 'action__pattern': '^snippet\s\+delete_if$', 'menu_abbr': 'delete_if { |${1:e}| ${2} }'}, 'map': {'word': 'map', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'map {|${1:#:variable}| ${2} }', 'description': 'map {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 100, 'menu_template': '[nsnip] map {|${1:#:variable}| ${2} }', 'real_name': 'map', 'action__pattern': '^snippet\s\+map$', 'menu_abbr': 'map {|${1:#:variable}| ${2} }'}, 'spechelper': {'word': 'spechelper', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'')${1}', 'description': 'require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'')${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 2, 'menu_template': '[nsnip] require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'')${1}', 'real_name': 'spechelper', 'action__pattern': '^snippet\s\+spechelper$', 'menu_abbr': 'require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'')${1}'}, 'shcb': {'word': 'shcb', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_change "${1:expression}", :by => ${2:by}', 'description': 'should_change "${1:expression}", :by => ${2:by}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 6, 'menu_template': '[nsnip] should_change "${1:expression}", :by => ${2:by}', 'real_name': 'shcb', 'action__pattern': '^snippet\s\+shcb$', 'menu_abbr': 'should_change "${1:expression}", :by => ${2:by}'}, 'max': {'word': 'max', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'max { |a, b|, ${1} }', 'description': 'max { |a, b|, ${1} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 371, 'menu_template': '[nsnip] max { |a, b|, ${1} }', 'real_name': 'max', 'action__pattern': '^snippet\s\+max$', 'menu_abbr': 'max { |a, b|, ${1} }'}, 'hereDoc': {'word': 'hereDoc', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': '${1:var} = <<-${2:__DOC__}
${3:TARGET}
${2}', 'description': '${1:var} = <<-${2:__DOC__}
${3:TARGET}
${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 491, 'menu_template': '[nsnip] ${1:var} = <<-${2:__DOC__} ${3: } ${2}', 'real_name': 'hereDoc', 'action__pattern': '^snippet\s\+hereDoc$', 'menu_abbr': '${1:var} = <<-${2:__DOC__} ${3: } ${2}'}, 'task': {'word': 'task', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'desc "${1:Task description}"
task :${2:task_name} => [${3:#::dependent, :tasks}] do
${4}
end', 'description': 'desc "${1:Task description}"
task :${2:task_name} => [${3:#::dependent, :tasks}] do
${4}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 444, 'menu_template': '[nsnip] desc "${1:Task description}" task :${2:task_name} => [${3:#::dependent, :tasks}] do ${4} end', 'real_name': 'task', 'action__pattern': '^snippet\s\+task$', 'menu_abbr': 'desc "${1:Task description}" task :${2:task_name} => [${3:#::dependent, :tasks}] do ${4} end'}, 'module_include': {'word': 'module_include', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'module ${1:`substitute(Filename(), ''^.'', ''\u&'', '''')`}
module ClassMethods
${2}
end
module InstanceMethods
end
def self.included(receiver)
receiver.extend ClassMethods
receiver.send :include, InstanceMethods
end
end', 'description': 'module ${1:`substitute(Filename(), ''^.'', ''\u&'', '''')`}
module ClassMethods
${2}
end
module InstanceMethods
end
def self.included(receiver)
receiver.extend ClassMethods
receiver.send :include, InstanceMethods
end
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 77, 'menu_template': '[nsnip] module ${1:`substitute(Filename(), ''^.'', ''\u&'', '''')`} module ClassMethods ${2} end module InstanceMethods end def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end end', 'real_name': 'module_include', 'action__pattern': '^snippet\s\+module_include$', 'menu_abbr': 'module ${1:`substitute(Filename(), ''^.'', ''\u&'', '''')`} module ClassMethods ${2} end module InstanceMethods end def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end end'}, 'should_ensure_length_at_least': {'word': 'should_ensure_length_at_least', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_ensure_length_at_least :${1:attribute}, ${2:length}', 'description': 'should_ensure_length_at_least :${1:attribute}, ${2:length}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 16, 'menu_template': '[nsnip] should_ensure_length_at_least :${1:attribute}, ${2:length}', 'real_name': 'should_ensure_length_at_least', 'action__pattern': '^snippet\s\+should_ensure_length_at_least$', 'menu_abbr': 'should_ensure_length_at_least :${1:attribute}, ${2:length}'}, 'lam': {'word': 'lam', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'lambda { |${1:args}| ${2} }', 'description': 'lambda { |${1:args}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 381, 'menu_template': '[nsnip] lambda { |${1:args}| ${2} }', 'real_name': 'lam', 'action__pattern': '^snippet\s\+lam$', 'menu_abbr': 'lambda { |${1:args}| ${2} }'}, 'flunk': {'word': 'flunk', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'flunk("${1:Failure message.}")${2}', 'description': 'flunk("${1:Failure message.}")${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 408, 'menu_template': '[nsnip] flunk("${1:Failure message.}")${2}', 'real_name': 'flunk', 'action__pattern': '^snippet\s\+flunk$', 'menu_abbr': 'flunk("${1:Failure message.}")${2}'}, 'sort': {'word': 'sort', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'sort {|${1:#:variable}| ${2} }', 'description': 'sort {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 104, 'menu_template': '[nsnip] sort {|${1:#:variable}| ${2} }', 'real_name': 'sort', 'action__pattern': '^snippet\s\+sort$', 'menu_abbr': 'sort {|${1:#:variable}| ${2} }'}, 'xpath': {'word': 'xpath', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'elements.each(${1:"//Xpath"}) do |${2:node}|
${3}
end', 'description': 'elements.each(${1:"//Xpath"}) do |${2:node}|
${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 433, 'menu_template': '[nsnip] elements.each(${1:"//Xpath"}) do |${2:node}| ${3} end', 'real_name': 'xpath', 'action__pattern': '^snippet\s\+xpath$', 'menu_abbr': 'elements.each(${1:"//Xpath"}) do |${2:node}| ${3} end'}, 'fin': {'word': 'fin', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'find { |${1:e}| ${2} }', 'description': 'find { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 361, 'menu_template': '[nsnip] find { |${1:e}| ${2} }', 'real_name': 'fin', 'action__pattern': '^snippet\s\+fin$', 'menu_abbr': 'find { |${1:e}| ${2} }'}, 'fina': {'word': 'fina', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'find_all { |${1:e}| ${2} }', 'description': 'find_all { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 363, 'menu_template': '[nsnip] find_all { |${1:e}| ${2} }', 'real_name': 'fina', 'action__pattern': '^snippet\s\+fina$', 'menu_abbr': 'find_all { |${1:e}| ${2} }'}, 'marshalLoad': {'word': 'marshalLoad', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'File.open(${1:TARGET}, "rb") { |f| Marshal.load(f) }', 'description': 'File.open(${1:TARGET}, "rb") { |f| Marshal.load(f) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 469, 'menu_template': '[nsnip] File.open(${1: }, "rb") { |f| Marshal.load(f) }', 'real_name': 'marshalLoad', 'action__pattern': '^snippet\s\+marshalLoad$', 'menu_abbr': 'File.open(${1: }, "rb") { |f| Marshal.load(f) }'}, 'unittest_class': {'word': 'unittest_class', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'require "test/unit"
require "${1:library_file_name}"
class Test${2:$1} < Test::Unit::TestCase
def test_${3:case_name}
${4}
end
end', 'description': 'require "test/unit"
require "${1:library_file_name}"
class Test${2:$1} < Test::Unit::TestCase
def test_${3:case_name}
${4}
end
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 3, 'menu_template': '[nsnip] require "test/unit" require "${1:library_file_name}" class Test${2:$1} < Test::Unit::TestCase def test_${3:case_name} ${4} end end', 'real_name': 'unittest_class', 'action__pattern': '^snippet\s\+unittest_class$', 'menu_abbr': 'require "test/unit" require "${1:library_file_name}" class Test${2:$1} < Test::Unit::TestCase def test_${3:case_name} ${4} end end'}, 'logd': {'word': 'logd', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'logger.debug { "${1:message}" }${2}', 'description': 'logger.debug { "${1:message}" }${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails.snip', 'action__line': 5, 'menu_template': '[nsnip] logger.debug { "${1:message}" }${2}', 'real_name': 'logd', 'action__pattern': '^snippet\s\+logd$', 'menu_abbr': 'logger.debug { "${1:message}" }${2}'}, 'loge': {'word': 'loge', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'logger.error { "${1:message}" }${2}', 'description': 'logger.error { "${1:message}" }${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails.snip', 'action__line': 9, 'menu_template': '[nsnip] logger.error { "${1:message}" }${2}', 'real_name': 'loge', 'action__pattern': '^snippet\s\+loge$', 'menu_abbr': 'logger.error { "${1:message}" }${2}'}, 'logf': {'word': 'logf', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'logger.fatal { "${1:message}" }${2}', 'description': 'logger.fatal { "${1:message}" }${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails.snip', 'action__line': 11, 'menu_template': '[nsnip] logger.fatal { "${1:message}" }${2}', 'real_name': 'logf', 'action__pattern': '^snippet\s\+logf$', 'menu_abbr': 'logger.fatal { "${1:message}" }${2}'}, 'assert_no_match': {'word': 'assert_no_match', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_no_match(/${1:unexpected_pattern}/, ${2:actual_string})${3}', 'description': 'assert_no_match(/${1:unexpected_pattern}/, ${2:actual_string})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 35, 'menu_template': '[nsnip] assert_no_match(/${1:unexpected_pattern}/, ${2:actual_string})${3}', 'real_name': 'assert_no_match', 'action__pattern': '^snippet\s\+assert_no_match$', 'menu_abbr': 'assert_no_match(/${1:unexpected_pattern}/, ${2:actual_string})${3}'}, 'logi': {'word': 'logi', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'logger.info { "${1:message}" }${2}', 'description': 'logger.info { "${1:message}" }${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails.snip', 'action__line': 3, 'menu_template': '[nsnip] logger.info { "${1:message}" }${2}', 'real_name': 'logi', 'action__pattern': '^snippet\s\+logi$', 'menu_abbr': 'logger.info { "${1:message}" }${2}'}, 'each_value': {'word': 'each_value', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_value { |${1:val}| ${2} }', 'description': 'each_value { |${1:val}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 320, 'menu_template': '[nsnip] each_value { |${1:val}| ${2} }', 'real_name': 'each_value', 'action__pattern': '^snippet\s\+each_value$', 'menu_abbr': 'each_value { |${1:val}| ${2} }'}, 'xShell': {'word': 'xShell', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '%x{${1:#shell code}}', 'description': '%x{${1:#shell code}}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 479, 'menu_template': '[nsnip] %x{...}', 'real_name': 'xShell', 'action__pattern': '^snippet\s\+xShell$', 'menu_abbr': '%x{...}'}, 'urlencode': {'word': 'urlencode', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '# coding: utf-8
require ''erb''
puts ERB::Util.url_encode ''${1}''', 'description': '# coding: utf-8
require ''erb''
puts ERB::Util.url_encode ''${1}''', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 56, 'menu_template': '[nsnip] # coding: utf-8 require ''erb'' puts ERB::Util.url_encode ''${1}''', 'real_name': 'urlencode', 'action__pattern': '^snippet\s\+urlencode$', 'menu_abbr': '# coding: utf-8 require ''erb'' puts ERB::Util.url_encode ''${1}'''}, 'assert_operator': {'word': 'assert_operator', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_operator(${1:left}, :${2:operator}, ${3:right})${4}', 'description': 'assert_operator(${1:left}, :${2:operator}, ${3:right})${4}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 37, 'menu_template': '[nsnip] assert_operator(${1:left}, :${2:operator}, ${3:right})${4}', 'real_name': 'assert_operator', 'action__pattern': '^snippet\s\+assert_operator$', 'menu_abbr': 'assert_operator(${1:left}, :${2:operator}, ${3:right})${4}'}, 'context': {'word': 'context', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'context "${1:description}" do
${2:TARGET}
end', 'description': 'context "${1:description}" do
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 12, 'menu_template': '[nsnip] context "${1:description}" do ${2: } end', 'real_name': 'context', 'action__pattern': '^snippet\s\+context$', 'menu_abbr': 'context "${1:description}" do ${2: } end'}, 'yamlDump': {'word': 'yamlDump', 'options': {...}, 'snip': 'File.open(${1:TARGET}, "wb") { |f| YAML::dump(${2:object}, f)}', 'description': 'File.open(${1:TARGET}, "wb") { |f| YAML::dump(${2:object}, f)}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 455, 'menu_template': '[nsnip] File.open(${1: }, "wb") { |f| YAML::dump(${2:object}, f)}', 'real_name': 'yamlDump', 'action__pattern': '^snippet\s\+yamlDump$', 'menu_abbr': 'File.open(${1: }, "wb") { |f| YAML::dump(${2:object}, f)}'}, 'itshhns': {'word': 'itshhns', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_named_scope(:${1:scope}).
finding(:conditions => {:${2:cond} => ${3:value}) }', 'description': 'it { should have_named_scope(:${1:scope}).
finding(:conditions => {:${2:cond} => ${3:value}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 35, 'menu_template': '[nsnip] it { should have_named_scope(:${1:scope}). finding(:conditions => {:${2:cond} => ${3:value}) }', 'real_name': 'itshhns', 'action__pattern': '^snippet\s\+itshhns$', 'menu_abbr': 'it { should have_named_scope(:${1:scope}). finding(:conditions => {:${2:cond} => ${3:value}) }'}, 'assert_nil': {'word': 'assert_nil', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_nil(${1:instance})${2}', 'description': 'assert_nil(${1:instance})${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 29, 'menu_template': '[nsnip] assert_nil(${1:instance})${2}', 'real_name': 'assert_nil', 'action__pattern': '^snippet\s\+assert_nil$', 'menu_abbr': 'assert_nil(${1:instance})${2}'}, 'inject': {'word': 'inject', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'inject(${1:init}) { |${2:mem}, ${3:var}| ${4} }', 'description': 'inject(${1:init}) { |${2:mem}, ${3:var}| ${4} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 329, 'menu_template': '[nsnip] inject(${1:init}) { |${2:mem}, ${3:var}| ${4} }', 'real_name': 'inject', 'action__pattern': '^snippet\s\+inject$', 'menu_abbr': 'inject(${1:init}) { |${2:mem}, ${3:var}| ${4} }'}, 'shebang': {'word': 'shebang', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': '#!/usr/bin/env ${1:ruby}
# -*- coding: utf-8 -*-
${2}', 'description': '#!/usr/bin/env ${1:ruby}
# -*- coding: utf-8 -*-
${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 5, 'menu_template': '[nsnip] #!/usr/bin/env ruby', 'real_name': 'shebang', 'action__pattern': '^snippet\s\+shebang$', 'menu_abbr': '#!/usr/bin/env ruby'}, 'shflp': {'word': 'shflp', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_filter_params :${1:password}', 'description': 'should_filter_params :${1:password}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 68, 'menu_template': '[nsnip] should_filter_params :${1:password}', 'real_name': 'shflp', 'action__pattern': '^snippet\s\+shflp$', 'menu_abbr': 'should_filter_params :${1:password}'}, 'logw': {'word': 'logw', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'logger.warn { "${1:message}" }${2}', 'description': 'logger.warn { "${1:message}" }${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails.snip', 'action__line': 7, 'menu_template': '[nsnip] logger.warn { "${1:message}" }${2}', 'real_name': 'logw', 'action__pattern': '^snippet\s\+logw$', 'menu_abbr': 'logger.warn { "${1:message}" }${2}'}, 'itshbt_shoulda_macros_for_rspec_should_belong_to': {'word': 'itshbt_shoulda_macros_for_rspec_should_belong_to', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should belong_to :${1:association} }', 'description': 'it { should belong_to :${1:association} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 4, 'menu_template': '[nsnip] shoulda macros for rspec: should_belong_to', 'real_name': 'itshbt_shoulda_macros_for_rspec_should_belong_to', 'action__pattern': '^snippet\s\+itshbt_shoulda_macros_for_rspec_should_belong_to$', 'menu_abbr': 'shoulda macros for rspec: should_belong_to'}, 'itshsetfl': {'word': 'itshsetfl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should set_the_flash }${0}', 'description': 'it { should set_the_flash }${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 42, 'menu_template': '[nsnip] it { should set_the_flash }${0}', 'real_name': 'itshsetfl', 'action__pattern': '^snippet\s\+itshsetfl$', 'menu_abbr': 'it { should set_the_flash }${0}'}, 'key_sym': {'word': 'key_sym', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': ':${1:key} => ${2:"value"}${3}', 'description': ':${1:key} => ${2:"value"}${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 387, 'menu_template': '[nsnip] :${1:key} => ${2:"value"}${3}', 'real_name': 'key_sym', 'action__pattern': '^snippet\s\+key_sym$', 'menu_abbr': ':${1:key} => ${2:"value"}${3}'}, 'elsif': {'word': 'elsif', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'elsif ${1:condition}
${2:TARGET}', 'description': 'elsif ${1:condition}
${2:TARGET}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 187, 'menu_template': '[nsnip] elsif ${1:condition} ${2: }', 'real_name': 'elsif', 'action__pattern': '^snippet\s\+elsif$', 'menu_abbr': 'elsif ${1:condition} ${2: }'}, 'shvnum': {'word': 'shvnum', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_validate_numericality_of :${1:attribute}', 'description': 'should_validate_numericality_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 32, 'menu_template': '[nsnip] should_validate_numericality_of :${1:attribute}', 'real_name': 'shvnum', 'action__pattern': '^snippet\s\+shvnum$', 'menu_abbr': 'should_validate_numericality_of :${1:attribute}'}, 'each': {'word': 'each', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each { |${1:#:variable}| ${2} }', 'description': 'each { |${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 66, 'menu_template': '[nsnip] each { |${1:#:variable}| ${2} }', 'real_name': 'each', 'action__pattern': '^snippet\s\+each$', 'menu_abbr': 'each { |${1:#:variable}| ${2} }'}, 'defs': {'word': 'defs', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def self.${1:class_method_name}
${2:TARGET}
end', 'description': 'def self.${1:class_method_name}
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 117, 'menu_template': '[nsnip] def self.${1:class_method_name} ${2: } end', 'real_name': 'defs', 'action__pattern': '^snippet\s\+defs$', 'menu_abbr': 'def self.${1:class_method_name} ${2: } end'}, 'date_day': {'word': 'date_day', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': '`strftime("%Y-%m-%d")`${0}', 'description': '`strftime("%Y-%m-%d")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 12, 'menu_template': '[nsnip] `strftime("%Y-%m-%d")`${0}', 'real_name': 'date_day', 'action__pattern': '^snippet\s\+date_day$', 'menu_abbr': '`strftime("%Y-%m-%d")`${0}'}, 'report': {'word': 'report', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'results.report("${1:name}:") { TESTS.times { ${2} }}', 'description': 'results.report("${1:name}:") { TESTS.times { ${2} }}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 416, 'menu_template': '[nsnip] results.report("${1:name}:") { TESTS.times { ${2} }}', 'real_name': 'report', 'action__pattern': '^snippet\s\+report$', 'menu_abbr': 'results.report("${1:name}:") { TESTS.times { ${2} }}'}, 'assert_equal': {'word': 'assert_equal', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_equal(${1:expected}, ${2:actual})${3}', 'description': 'assert_equal(${1:expected}, ${2:actual})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 17, 'menu_template': '[nsnip] assert_equal', 'real_name': 'assert_equal', 'action__pattern': '^snippet\s\+assert_equal$', 'menu_abbr': 'assert_equal'}, 'should_ensure_value_in_range': {'word': 'should_ensure_value_in_range', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_ensure_value_in_range :${1:attribute}, ${2:range}', 'description': 'should_ensure_value_in_range :${1:attribute}, ${2:range}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 22, 'menu_template': '[nsnip] should_ensure_value_in_range :${1:attribute}, ${2:range}', 'real_name': 'should_ensure_value_in_range', 'action__pattern': '^snippet\s\+should_ensure_value_in_range$', 'menu_abbr': 'should_ensure_value_in_range :${1:attribute}, ${2:range}'}, 'should_ensure_length_is': {'word': 'should_ensure_length_is', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_ensure_length_is :${1:attribute}, ${2:length}', 'description': 'should_ensure_length_is :${1:attribute}, ${2:length}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 20, 'menu_template': '[nsnip] should_ensure_length_is :${1:attribute}, ${2:length}', 'real_name': 'should_ensure_length_is', 'action__pattern': '^snippet\s\+should_ensure_length_is$', 'menu_abbr': 'should_ensure_length_is :${1:attribute}, ${2:length}'}, 'sh': {'word': 'sh', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should "${1:description}" do
${2}
end', 'description': 'should "${1:description}" do
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 94, 'menu_template': '[nsnip] should "${1:description}" do ${2} end', 'real_name': 'sh', 'action__pattern': '^snippet\s\+sh$', 'menu_abbr': 'should "${1:description}" do ${2} end'}, 'shrewol': {'word': 'shrewol', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_render_without_layout :${1}', 'description': 'should_render_without_layout :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 74, 'menu_template': '[nsnip] should_render_without_layout :${1}', 'real_name': 'shrewol', 'action__pattern': '^snippet\s\+shrewol$', 'menu_abbr': 'should_render_without_layout :${1}'}, 'attr_reader': {'word': 'attr_reader', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'attr_reader :${1:attr_names}', 'description': 'attr_reader :${1:attr_names}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 59, 'menu_template': '[nsnip] attr_reader :${1:attr_names}', 'real_name': 'attr_reader', 'action__pattern': '^snippet\s\+attr_reader$', 'menu_abbr': 'attr_reader :${1:attr_names}'}, 'vinclus': {'word': 'vinclus', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_inclusion_of :${1:attribute}, :in => ${2:range}', 'description': 'validates_inclusion_of :${1:attribute}, :in => ${2:range}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 34, 'menu_template': '[nsnip] validates_inclusion_of :${1:attribute}, :in => ${2:range}', 'real_name': 'vinclus', 'action__pattern': '^snippet\s\+vinclus$', 'menu_abbr': 'validates_inclusion_of :${1:attribute}, :in => ${2:range}'}, 'dir_glob': {'word': 'dir_glob', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Dir.glob(${1:"dir/glob/*"}) { |${2:file}| ${3} }', 'description': 'Dir.glob(${1:"dir/glob/*"}) { |${2:file}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 145, 'menu_template': '[nsnip] Dir.glob(${1:"dir/glob/*"}) { |${2:file}| ${3} }', 'real_name': 'dir_glob', 'action__pattern': '^snippet\s\+dir_glob$', 'menu_abbr': 'Dir.glob(${1:"dir/glob/*"}) { |${2:file}| ${3} }'}, 'pD': {'word': 'pD', 'options': {...}, 'snip': 'File.open(${1:TARGET}, "wb") { |f| f.puts ${2:object}.to_plist}', 'description': 'File.open(${1:TARGET}, "wb") { |f| f.puts ${2:object}.to_plist}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 464, 'menu_template': '[nsnip] File.open(${1: }, "wb") { |f| f.puts ${2:object}.to_plist}', 'real_name': 'plistDump', 'action__pattern': '^snippet\s\+plistDump$', 'menu_abbr': 'File.open(${1: }, "wb") { |f| f.puts ${2:object}.to_plist}'}, 'itshrespwc': {'word': 'itshrespwc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should respond_with_content_type(:${1:xml|csv|atom|yaml|text}) }', 'description': 'it { should respond_with_content_type(:${1:xml|csv|atom|yaml|text}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 26, 'menu_template': '[nsnip] it { should respond_with_content_type(:${1:xml|csv|atom|yaml|text}) }', 'real_name': 'itshrespwc', 'action__pattern': '^snippet\s\+itshrespwc$', 'menu_abbr': 'it { should respond_with_content_type(:${1:xml|csv|atom|yaml|text}) }'}, 'sel': {'word': 'sel', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'select { |${1:e}|, ${2} }', 'description': 'select { |${1:e}|, ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 379, 'menu_template': '[nsnip] select { |${1:e}|, ${2} }', 'real_name': 'sel', 'action__pattern': '^snippet\s\+sel$', 'menu_abbr': 'select { |${1:e}|, ${2} }'}, 'assert_not_same': {'word': 'assert_not_same', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_not_same(${1:unexpected}, ${2:actual})${3}', 'description': 'assert_not_same(${1:unexpected}, ${2:actual})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 49, 'menu_template': '[nsnip] assert_not_same(${1:unexpected}, ${2:actual})${3}', 'real_name': 'assert_not_same', 'action__pattern': '^snippet\s\+assert_not_same$', 'menu_abbr': 'assert_not_same(${1:unexpected}, ${2:actual})${3}'}, 'hash': {'word': 'hash', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Hash.new { |${1:hash}, ${2:key}| $1[$2] = ${3} }', 'description': 'Hash.new { |${1:hash}, ${2:key}| $1[$2] = ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 140, 'menu_template': '[nsnip] Hash.new { |${1:hash}, ${2:key}| $1[$2] = ${3} }', 'real_name': 'hash', 'action__pattern': '^snippet\s\+hash$', 'menu_abbr': 'Hash.new { |${1:hash}, ${2:key}| $1[$2] = ${3} }'}, 'Fbw': {'word': 'Fbw', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.build(:${1:factory}, :${2})', 'description': 'Factory.build(:${1:factory}, :${2})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 34, 'menu_template': '[nsnip] Factory.build(:${1:factory}, :${2})', 'real_name': 'Fbw', 'action__pattern': '^snippet\s\+Fbw$', 'menu_abbr': 'Factory.build(:${1:factory}, :${2})'}, 'cont': {'word': 'cont', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'context "${1:description}" do
setup do
${2}
end
end', 'description': 'context "${1:description}" do
setup do
${2}
end
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 88, 'menu_template': '[nsnip] context "${1:description}" do setup do ${2} end end', 'real_name': 'cont', 'action__pattern': '^snippet\s\+cont$', 'menu_abbr': 'context "${1:description}" do setup do ${2} end end'}, 'rej': {'word': 'rej', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'reject { |${1:e}|, ${2} }', 'description': 'reject { |${1:e}|, ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 377, 'menu_template': '[nsnip] reject { |${1:e}|, ${2} }', 'real_name': 'rej', 'action__pattern': '^snippet\s\+rej$', 'menu_abbr': 'reject { |${1:e}|, ${2} }'}, 'req': {'word': 'req', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'require "${1}"${2}', 'description': 'require "${1}"${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 42, 'menu_template': '[nsnip] require "${1}"${2}', 'real_name': 'req', 'action__pattern': '^snippet\s\+req$', 'menu_abbr': 'require "${1}"${2}'}, 'assert_send': {'word': 'assert_send', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_send([${1:object}, :${2:message}, ${3:args}])${4}', 'description': 'assert_send([${1:object}, :${2:message}, ${3:args}])${4}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 47, 'menu_template': '[nsnip] assert_send([${1:object}, :${2:message}, ${3:args}])${4}', 'real_name': 'assert_send', 'action__pattern': '^snippet\s\+assert_send$', 'menu_abbr': 'assert_send([${1:object}, :${2:message}, ${3:args}])${4}'}, 'shhdbc': {'word': 'shhdbc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_db_columns :${1:column}', 'description': 'should_have_db_columns :${1:column}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 34, 'menu_template': '[nsnip] should_have_db_columns :${1:column}', 'real_name': 'shhdbc', 'action__pattern': '^snippet\s\+shhdbc$', 'menu_abbr': 'should_have_db_columns :${1:column}'}, 'shnfl': {'word': 'shnfl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_not_set_the_flash ${1}', 'description': 'should_not_set_the_flash ${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 64, 'menu_template': '[nsnip] should_not_set_the_flash ${1}', 'real_name': 'shnfl', 'action__pattern': '^snippet\s\+shnfl$', 'menu_abbr': 'should_not_set_the_flash ${1}'}, 'dovar': {'word': 'dovar', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'do |${1:#:var}|
${2:TARGET}
end', 'description': 'do |${1:#:var}|
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 28, 'menu_template': '[nsnip] do |var| ... end', 'real_name': 'dovar', 'action__pattern': '^snippet\s\+dovar$', 'menu_abbr': 'do |var| ... end'}, 'assert_in_delta': {'word': 'assert_in_delta', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_in_delta(${1:expected_float}, ${2:actual_float}, ${3:2 ** -20})${4}', 'description': 'assert_in_delta(${1:expected_float}, ${2:actual_float}, ${3:2 ** -20})${4}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 23, 'menu_template': '[nsnip] assert_in_delta(${1:expected_float}, ${2:actual_float}, ${3:2 ** -20})${4}', 'real_name': 'assert_in_delta', 'action__pattern': '^snippet\s\+assert_in_delta$', 'menu_abbr': 'assert_in_delta(${1:expected_float}, ${2:actual_float}, ${3:2 ** -20})${4}'}, 'shhdbi': {'word': 'shhdbi', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_indices :${1:column}', 'description': 'should_have_indices :${1:column}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 36, 'menu_template': '[nsnip] should_have_indices :${1:column}', 'real_name': 'shhdbi', 'action__pattern': '^snippet\s\+shhdbi$', 'menu_abbr': 'should_have_indices :${1:column}'}, 'itshhm_shoulda_macros_for_rspec_should_have_many': {'word': 'itshhm_shoulda_macros_for_rspec_should_have_many', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_many :${1:association} }', 'description': 'it { should have_many :${1:association} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 8, 'menu_template': '[nsnip] shoulda macros for rspec: should_have_many', 'real_name': 'itshhm_shoulda_macros_for_rspec_should_have_many', 'action__pattern': '^snippet\s\+itshhm_shoulda_macros_for_rspec_should_have_many$', 'menu_abbr': 'shoulda macros for rspec: should_have_many'}, 'sheq': {'word': 'sheq', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '${1:targe}.should == ${2}', 'description': '${1:targe}.should == ${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 42, 'menu_template': '[nsnip] ${1:targe}.should == ${2}', 'real_name': 'sheq', 'action__pattern': '^snippet\s\+sheq$', 'menu_abbr': '${1:targe}.should == ${2}'}, 'itshho_shoulda_macros_for_rspec_should_have_one': {'word': 'itshho_shoulda_macros_for_rspec_should_have_one', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_one :${1:association} }', 'description': 'it { should have_one :${1:association} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 10, 'menu_template': '[nsnip] shoulda macros for rspec: should_have_one', 'real_name': 'itshho_shoulda_macros_for_rspec_should_have_one', 'action__pattern': '^snippet\s\+itshho_shoulda_macros_for_rspec_should_have_one$', 'menu_abbr': 'shoulda macros for rspec: should_have_one'}, 'bKV': {'description': '{ |${1:k, v}|
${2}
}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'menu': '[nsnip] { |k, v| }', 'menu_template': '[nsnip] { |k, v| }', 'real_name': 'blockKeyValue', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '{ |${1:k, v}|
${2}
}', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'bKV', 'action__pattern': '^snippet\s\+blockKeyValue$', 'rank': 8, 'action__line': 273, 'menu_abbr': '{ |k, v| }'}, 'bV': {'description': '{ |${1:v}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'menu': '[nsnip] { |v| }', 'menu_template': '[nsnip] { |v| }', 'real_name': 'blockValue', 'dup': 1, 'options': {...}, 'snip': '{ |${1:v}| ${2} }', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'bV', 'action__pattern': '^snippet\s\+blockValue$', 'rank': 8, 'action__line': 268, 'menu_abbr': '{ |v| }'}, 'sort_by': {'word': 'sort_by', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'sort_by {|${1:#:variable}| ${2} }', 'description': 'sort_by {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 108, 'menu_template': '[nsnip] sort_by {|${1:#:variable}| ${2} }', 'real_name': 'sort_by', 'action__pattern': '^snippet\s\+sort_by$', 'menu_abbr': 'sort_by {|${1:#:variable}| ${2} }'}, 'itshrwl': {'word': 'itshrwl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should render_with_layout }${0}', 'description': 'it { should render_with_layout }${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 18, 'menu_template': '[nsnip] it { should render_with_layout }${0}', 'real_name': 'itshrwl', 'action__pattern': '^snippet\s\+itshrwl$', 'menu_abbr': 'it { should render_with_layout }${0}'}, 'shhns': {'word': 'shhns', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_named_scope :${1:named_scope}, :conditions => {:${2:cond} => ${3:cond_val}}', 'description': 'should_have_named_scope :${1:named_scope}, :conditions => {:${2:cond} => ${3:cond_val}}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 42, 'menu_template': '[nsnip] should_have_named_scope :${1:named_scope}, :conditions => {:${2:cond} => ${3:cond_val}}', 'real_name': 'shhns', 'action__pattern': '^snippet\s\+shhns$', 'menu_abbr': 'should_have_named_scope :${1:named_scope}, :conditions => {:${2:cond} => ${3:cond_val}}'}, 'shroute': {'word': 'shroute', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_route :${1:method}, "${2:path}", :action => :${3}', 'description': 'should_route :${1:method}, "${2:path}", :action => :${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 78, 'menu_template': '[nsnip] should_route :${1:method}, "${2:path}", :action => :${3}', 'real_name': 'shroute', 'action__pattern': '^snippet\s\+shroute$', 'menu_abbr': 'should_route :${1:method}, "${2:path}", :action => :${3}'}, 'block': {'description': '{
${1:TARGET}
}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'menu': '[nsnip] { ... }', 'menu_template': '[nsnip] { ... }', 'real_name': 'block', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '{
${1:TARGET}
}', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'block', 'action__pattern': '^snippet\s\+block$', 'rank': 8, 'action__line': 34, 'menu_abbr': '{ ... }'}, 'shhclm': {'word': 'shhclm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_have_class_methods :${1:method}', 'description': 'should_have_class_methods :${1:method}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 38, 'menu_template': '[nsnip] should_have_class_methods :${1:method}', 'real_name': 'shhclm', 'action__pattern': '^snippet\s\+shhclm$', 'menu_abbr': 'should_have_class_methods :${1:method}'}, 'itshfp': {'word': 'itshfp', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should filter_param(:${1:field}) }', 'description': 'it { should filter_param(:${1:field}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 14, 'menu_template': '[nsnip] it { should filter_param(:${1:field}) }', 'real_name': 'itshfp', 'action__pattern': '^snippet\s\+itshfp$', 'menu_abbr': 'it { should filter_param(:${1:field}) }'}, 'itshhroa': {'word': 'itshhroa', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should have_readonly_attributes(:${1:attribute}) }', 'description': 'it { should have_readonly_attributes(:${1:attribute}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 38, 'menu_template': '[nsnip] it { should have_readonly_attributes(:${1:attribute}) }', 'real_name': 'itshhroa', 'action__pattern': '^snippet\s\+itshhroa$', 'menu_abbr': 'it { should have_readonly_attributes(:${1:attribute}) }'}, 'shc_shoulda_macros_should_change': {'word': 'shc_shoulda_macros_should_change', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_change "${1:expression}"', 'description': 'should_change "${1:expression}"', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 4, 'menu_template': '[nsnip] shoulda macros should_change', 'real_name': 'shc_shoulda_macros_should_change', 'action__pattern': '^snippet\s\+shc_shoulda_macros_should_change$', 'menu_abbr': 'shoulda macros should_change'}, 'bp': {'description': '${1:Model}.blueprint do
${2:attribute} { ${3} }
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'menu': '[nsnip] ${1:Model}.blueprint do ${2:attribute} { ${3} } end', 'menu_template': '[nsnip] ${1:Model}.blueprint do ${2:attribute} { ${3} } end', 'real_name': 'bp', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': '${1:Model}.blueprint do
${2:attribute} { ${3} }
end', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'bp', 'action__pattern': '^snippet\s\+bp$', 'rank': 8, 'action__line': 11, 'menu_abbr': '${1:Model}.blueprint do ${2:attribute} { ${3} } end'}, 'itshlengthlm': {'word': 'itshlengthlm', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should ensure_length_of(:${1:attribute}).
is_at_least(${2:least}).
is_at_most(${3:most}) }', 'description': 'it { should ensure_length_of(:${1:attribute}).
is_at_least(${2:least}).
is_at_most(${3:most}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 22, 'menu_template': '[nsnip] it { should ensure_length_of(:${1:attribute}). is_at_least(${2:least}). is_at_most(${3:most}) }', 'real_name': 'itshlengthlm', 'action__pattern': '^snippet\s\+itshlengthlm$', 'menu_abbr': 'it { should ensure_length_of(:${1:attribute}). is_at_least(${2:least}). is_at_most(${3:most}) }'}, 'df': {'word': 'df', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': '`strftime("%Y-%m-%dT%H:%M:%S")`${0}', 'description': '`strftime("%Y-%m-%dT%H:%M:%S")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 7, 'menu_template': '[nsnip] `strftime("%Y-%m-%dT%H:%M:%S")`${0}', 'real_name': 'date_full', 'action__pattern': '^snippet\s\+date_full$', 'menu_abbr': '`strftime("%Y-%m-%dT%H:%M:%S")`${0}'}, 'bt': {'description': 'belongs_to :${1}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'menu': '[nsnip] belongs_to :${1}', 'menu_template': '[nsnip] belongs_to :${1}', 'real_name': 'bt', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'belongs_to :${1}', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'bt', 'action__pattern': '^snippet\s\+bt$', 'rank': 8, 'action__line': 4, 'menu_abbr': 'belongs_to :${1}'}, 'date_full': {'word': 'date_full', 'options': {...}, 'snip': '`strftime("%Y-%m-%dT%H:%M:%S")`${0}', 'description': '`strftime("%Y-%m-%dT%H:%M:%S")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 7, 'menu_template': '[nsnip] `strftime("%Y-%m-%dT%H:%M:%S")`${0}', 'real_name': 'date_full', 'action__pattern': '^snippet\s\+date_full$', 'menu_abbr': '`strftime("%Y-%m-%dT%H:%M:%S")`${0}'}, 'before': {'description': 'before(:${1:each}) do
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'menu': '[nsnip] before(:${1:each}) do ${2: } end', 'menu_template': '[nsnip] before(:${1:each}) do ${2: } end', 'real_name': 'before', 'dup': 1, 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'before(:${1:each}) do
${2:TARGET}
end', 'neocomplcache__convertable': 0, 'neocomplcache__refresh': 0, 'kind': '', 'word': 'before', 'action__pattern': '^snippet\s\+before$', 'rank': 8, 'action__line': 18, 'menu_abbr': 'before(:${1:each}) do ${2: } end'}, 'Fsq': {'word': 'Fsq', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.sequence :${1:attribute} do |n|
${2}
end', 'description': 'Factory.sequence :${1:attribute} do |n|
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 15, 'menu_template': '[nsnip] Factory.sequence :${1:attribute} do |n| ${2} end', 'real_name': 'Fsq', 'action__pattern': '^snippet\s\+Fsq$', 'menu_abbr': 'Factory.sequence :${1:attribute} do |n| ${2} end'}, 'assert_same': {'word': 'assert_same', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_same(${1:expected}, ${2:actual})${3}', 'description': 'assert_same(${1:expected}, ${2:actual})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 45, 'menu_template': '[nsnip] assert_same(${1:expected}, ${2:actual})${3}', 'real_name': 'assert_same', 'action__pattern': '^snippet\s\+assert_same$', 'menu_abbr': 'assert_same(${1:expected}, ${2:actual})${3}'}, 'argf': {'word': 'argf', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'ARGF.each_line${1} do |${2:line}|
${3}
end', 'description': 'ARGF.each_line${1} do |${2:line}|
${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 484, 'menu_template': '[nsnip] ARGF.each_line${1} do |${2:line}| ${3} end', 'real_name': 'argf', 'action__pattern': '^snippet\s\+argf$', 'menu_abbr': 'ARGF.each_line${1} do |${2:line}| ${3} end'}, 'plistLoad': {'word': 'plistLoad', 'options': {...}, 'snip': 'Plist::parse_xml( File.read(${1:TARGET}) )', 'description': 'Plist::parse_xml( File.read(${1:TARGET}) )', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 460, 'menu_template': '[nsnip] Plist::parse_xml( File.read(${1: }) )', 'real_name': 'plistLoad', 'action__pattern': '^snippet\s\+plistLoad$', 'menu_abbr': 'Plist::parse_xml( File.read(${1: }) )'}, 'LOAD_PATH': {'word': 'LOAD_PATH', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': '($LOAD_PATH << File.expand_path("${1:..}", __FILE__)).uniq!
${0}', 'description': '($LOAD_PATH << File.expand_path("${1:..}", __FILE__)).uniq!
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 36, 'menu_template': '[nsnip] $LOAD_PATH << ...', 'real_name': 'LOAD_PATH', 'action__pattern': '^snippet\s\+LOAD_PATH$', 'menu_abbr': '$LOAD_PATH << ...'}, 'applescript': {'word': 'applescript', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': '%x{osascript <<__APPLESCRIPT__
${1:TARGET}
__APPLESCRIPT__}', 'description': '%x{osascript <<__APPLESCRIPT__
${1:TARGET}
__APPLESCRIPT__}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 497, 'menu_template': '[nsnip] osascript', 'real_name': 'applescript', 'action__pattern': '^snippet\s\+applescript$', 'menu_abbr': 'osascript'}, 'try': {'word': 'try', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'begin
${1:TARGET}
rescue ${2:} => ${3:e}
raise ${3}
end', 'description': 'begin
${1:TARGET}
rescue ${2:} => ${3:e}
raise ${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 231, 'menu_template': '[nsnip] begin ... rescue ... end', 'real_name': 'rescue', 'action__pattern': '^snippet\s\+rescue$', 'menu_abbr': 'begin ... rescue ... end'}, 'itshat': {'word': 'itshat', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should assign_to(:${1:model}) }', 'description': 'it { should assign_to(:${1:model}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 4, 'menu_template': '[nsnip] it { should assign_to(:${1:model}) }', 'real_name': 'itshat', 'action__pattern': '^snippet\s\+itshat$', 'menu_abbr': 'it { should assign_to(:${1:model}) }'}, 'each_char': {'word': 'each_char', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_char {|${1:#:variable}| ${2} }', 'description': 'each_char {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 80, 'menu_template': '[nsnip] each_char {|${1:#:variable}| ${2} }', 'real_name': 'each_char', 'action__pattern': '^snippet\s\+each_char$', 'menu_abbr': 'each_char {|${1:#:variable}| ${2} }'}, 'def_test': {'word': 'def_test', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def test_${1:case_name}
${2:TARGET}
end', 'description': 'def test_${1:case_name}
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 112, 'menu_template': '[nsnip] def test_${1:case_name} ${2: } end', 'real_name': 'def_test', 'action__pattern': '^snippet\s\+def_test$', 'menu_abbr': 'def test_${1:case_name} ${2: } end'}, 'assert_nothing_thrown': {'word': 'assert_nothing_thrown', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_nothing_thrown { ${1} }', 'description': 'assert_nothing_thrown { ${1} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 53, 'menu_template': '[nsnip] assert_nothing_thrown { ${1} }', 'real_name': 'assert_nothing_thrown', 'action__pattern': '^snippet\s\+assert_nothing_thrown$', 'menu_abbr': 'assert_nothing_thrown { ${1} }'}, 'shvuniq': {'word': 'shvuniq', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_validate_uniqueness_of :${1:attribute}', 'description': 'should_validate_uniqueness_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 28, 'menu_template': '[nsnip] should_validate_uniqueness_of :${1:attribute}', 'real_name': 'shvuniq', 'action__pattern': '^snippet\s\+shvuniq$', 'menu_abbr': 'should_validate_uniqueness_of :${1:attribute}'}, 'zip': {'word': 'zip', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'zip(${1:enums}) { |${2:row}| ${3} }', 'description': 'zip(${1:enums}) { |${2:row}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 158, 'menu_template': '[nsnip] zip(${1:enums}) { |${2:row}| ${3} }', 'real_name': 'zip', 'action__pattern': '^snippet\s\+zip$', 'menu_abbr': 'zip(${1:enums}) { |${2:row}| ${3} }'}, 'open': {'word': 'open', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }', 'description': 'open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 389, 'menu_template': '[nsnip] open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }', 'real_name': 'open', 'action__pattern': '^snippet\s\+open$', 'menu_abbr': 'open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }'}, 'each_cons': {'word': 'each_cons', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_cons(${1:2}) { |${2:group}| ${3} }', 'description': 'each_cons(${1:2}) { |${2:group}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 302, 'menu_template': '[nsnip] each_cons(${1:2}) { |${2:group}| ${3} }', 'real_name': 'each_cons', 'action__pattern': '^snippet\s\+each_cons$', 'menu_abbr': 'each_cons(${1:2}) { |${2:group}| ${3} }'}, 'PStore': {'word': 'PStore', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'PStore.new(${1:"file_name.pstore"})${2}', 'description': 'PStore.new(${1:"file_name.pstore"})${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 427, 'menu_template': '[nsnip] PStore.new(${1:"file_name.pstore"})${2}', 'real_name': 'PStore', 'action__pattern': '^snippet\s\+PStore$', 'menu_abbr': 'PStore.new(${1:"file_name.pstore"})${2}'}, 'shfl': {'word': 'shfl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_set_the_flash_to /${1}/i', 'description': 'should_set_the_flash_to /${1}/i', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 62, 'menu_template': '[nsnip] should_set_the_flash_to /${1}/i', 'real_name': 'shfl', 'action__pattern': '^snippet\s\+shfl$', 'menu_abbr': 'should_set_the_flash_to /${1}/i'}, 'flatten_once': {'word': 'flatten_once', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'inject(Array.new) { |${1:arr}, ${2:a}| $1.push(*$2)}${3}', 'description': 'inject(Array.new) { |${1:arr}, ${2:a}| $1.push(*$2)}${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 156, 'menu_template': '[nsnip] inject(Array.new) { |${1:arr}, ${2:a}| $1.push(*$2)}${3}', 'real_name': 'flatten_once', 'action__pattern': '^snippet\s\+flatten_once$', 'menu_abbr': 'inject(Array.new) { |${1:arr}, ${2:a}| $1.push(*$2)}${3}'}, 'vass': {'word': 'vass', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_associated :${1:association}', 'description': 'validates_associated :${1:association}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 26, 'menu_template': '[nsnip] validates_associated :${1:association}', 'real_name': 'vass', 'action__pattern': '^snippet\s\+vass$', 'menu_abbr': 'validates_associated :${1:association}'}, 'each_pair': {'word': 'each_pair', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_pair { |${1:name}, ${2:val}| ${3} }', 'description': 'each_pair { |${1:name}, ${2:val}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 314, 'menu_template': '[nsnip] each_pair { |${1:name}, ${2:val}| ${3} }', 'real_name': 'each_pair', 'action__pattern': '^snippet\s\+each_pair$', 'menu_abbr': 'each_pair { |${1:name}, ${2:val}| ${3} }'}, 'rescue': {'word': 'rescue', 'options': {...}, 'snip': 'begin
${1:TARGET}
rescue ${2:} => ${3:e}
raise ${3}
end', 'description': 'begin
${1:TARGET}
rescue ${2:} => ${3:e}
raise ${3}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 231, 'menu_template': '[nsnip] begin ... rescue ... end', 'real_name': 'rescue', 'action__pattern': '^snippet\s\+rescue$', 'menu_abbr': 'begin ... rescue ... end'}, 'each_byte': {'word': 'each_byte', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'each_byte {|${1:#:variable}| ${2} }', 'description': 'each_byte {|${1:#:variable}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 76, 'menu_template': '[nsnip] each_byte {|${1:#:variable}| ${2} }', 'real_name': 'each_byte', 'action__pattern': '^snippet\s\+each_byte$', 'menu_abbr': 'each_byte {|${1:#:variable}| ${2} }'}, 'cl': {'word': 'cl', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'classify { |${1:e}| ${2} }', 'description': 'classify { |${1:e}| ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 353, 'menu_template': '[nsnip] classify { |${1:e}| ${2} }', 'real_name': 'cl', 'action__pattern': '^snippet\s\+cl$', 'menu_abbr': 'classify { |${1:e}| ${2} }'}, 'def_method_missing': {'word': 'def_method_missing', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'def method_missing(meth, *args, &blk)
${1}
end', 'description': 'def method_missing(meth, *args, &blk)
${1}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 122, 'menu_template': '[nsnip] def method_missing(meth, *args, &blk) ${1} end', 'real_name': 'def_method_missing', 'action__pattern': '^snippet\s\+def_method_missing$', 'menu_abbr': 'def method_missing(meth, *args, &blk) ${1} end'}, 'describe': {'word': 'describe', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'describe "${1:description}" do
${2:TARGET}
end', 'description': 'describe "${1:description}" do
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec.snip', 'action__line': 6, 'menu_template': '[nsnip] describe "${1:description}" do ${2: } end', 'real_name': 'describe', 'action__pattern': '^snippet\s\+describe$', 'menu_abbr': 'describe "${1:description}" do ${2: } end'}, 'Dir': {'word': 'Dir', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Dir[${1:"glob/**/*.rb"}]${2}', 'description': 'Dir[${1:"glob/**/*.rb"}]${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 147, 'menu_template': '[nsnip] Dir[".."]', 'real_name': 'Dir', 'action__pattern': '^snippet\s\+Dir$', 'menu_abbr': 'Dir[".."]'}, 'blockKeyValue': {'word': 'blockKeyValue', 'options': {...}, 'snip': '{ |${1:k, v}|
${2}
}', 'description': '{ |${1:k, v}|
${2}
}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'neocomplcache__refresh': 0, 'rank': 8, 'action__line': 273, 'menu_template': '[nsnip] { |k, v| }', 'real_name': 'blockKeyValue', 'action__pattern': '^snippet\s\+blockKeyValue$', 'menu_abbr': '{ |k, v| }'}, 'namespace': {'word': 'namespace', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'namespace :${1:`expand("%:p:h:t:r")`} do
${2}
end', 'description': 'namespace :${1:`expand("%:p:h:t:r")`} do
${2}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 440, 'menu_template': '[nsnip] namespace :${1:`expand("%:p:h:t:r")`} do ${2} end', 'real_name': 'namespace', 'action__pattern': '^snippet\s\+namespace$', 'menu_abbr': 'namespace :${1:`expand("%:p:h:t:r")`} do ${2} end'}, 'yamlLoad': {'word': 'yamlLoad', 'options': {...}, 'snip': 'YAML::load( File.read(${1:TARGET}) )', 'description': 'YAML::load( File.read(${1:TARGET}) )', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 451, 'menu_template': '[nsnip] YAML::load( File.read(${1: }) )', 'real_name': 'yamlLoad', 'action__pattern': '^snippet\s\+yamlLoad$', 'menu_abbr': 'YAML::load( File.read(${1: }) )'}, 'vpos': {'word': 'vpos', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_presence_of :${1:attribute}, :scope => ${2:scope}', 'description': 'validates_presence_of :${1:attribute}, :scope => ${2:scope}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 18, 'menu_template': '[nsnip] validates_presence_of :${1:attribute}, :scope => ${2:scope}', 'real_name': 'vpos', 'action__pattern': '^snippet\s\+vpos$', 'menu_abbr': 'validates_presence_of :${1:attribute}, :scope => ${2:scope}'}, 'flash': {'word': 'flash', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'flash[:${1:notice}] = "${2}"', 'description': 'flash[:${1:notice}] = "${2}"', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_controller.snip', 'action__line': 9, 'menu_template': '[nsnip] flash[:${1:notice}] = "${2}"', 'real_name': 'flash', 'action__pattern': '^snippet\s\+flash$', 'menu_abbr': 'flash[:${1:notice}] = "${2}"'}, 'main': {'word': 'main', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': 'if __FILE__ == \$0
${1:TARGET}
end', 'description': 'if __FILE__ == \$0
${1:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 116, 'menu_template': '[nsnip] if __FILE__ == \$0 ${1: } end', 'real_name': 'main', 'action__pattern': '^snippet\s\+main$', 'menu_abbr': 'if __FILE__ == \$0 ${1: } end'}, 'fileHeader': {'word': 'fileHeader', 'options': {'word': 0, 'indent': 0, 'head': 1}, 'snip': '# ============== = ===========================================================
# FileName : `expand("%:t:r")`
# Description : ${1:Description}
# Author : `g:neco_snip_author` <`g:neco_snip_email`>
# HomePage : ${2:[TODO]( HomePage ) }
# Version : 0.1
# Date Created : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')`
# Last Modified : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')`
# Tag : [ ruby, ${3:tag} ]
# Copyright : © `strftime(''%Y'')` by `g:neco_snip_author`,
# Released under current GPL license.
# ============== = ===========================================================
${0}', 'description': '# ============== = ===========================================================
# FileName : `expand("%:t:r")`
# Description : ${1:Description}
# Author : `g:neco_snip_author` <`g:neco_snip_email`>
# HomePage : ${2:[TODO]( HomePage ) }
# Version : 0.1
# Date Created : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')`
# Last Modified : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')`
# Tag : [ ruby, ${3:tag} ]
# Copyright : © `strftime(''%Y'')` by `g:neco_snip_author`,
# Released under current GPL license.
# ============== = ===========================================================
${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 12, 'menu_template': '[nsnip] # ============== = =========================================================== # FileName : `expand("%:t:r")` # Description : ${1:Description} # Author : `g:neco_snip_author` <`g:neco_snip_email`> # HomePage : ${2:[TODO]( HomePage ) } # Version : 0.1 # Date Created : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')` # Last Modified : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')` # Tag : [ ruby, ${3:tag} ] # Copyright : © `strftime(''%Y'')` by `g:neco_snip_author`, # Released under current GPL license. # ============== = =========================================================== ${0}', 'real_name': 'fileHeader', 'action__pattern': '^snippet\s\+fileHeader$', 'menu_abbr': '# ============== = =========================================================== # FileName : `expand("%:t:r")` # Description : ${1:Description} # Author : `g:neco_snip_author` <`g:neco_snip_email`> # HomePage : ${2:[TODO]( HomePage ) } # Version : 0.1 # Date Created : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')` # Last Modified : `strftime(''%a %d %b %Y %I:%M:%S %p %Z'')` # Tag : [ ruby, ${3:tag} ] # Copyright : © `strftime(''%Y'')` by `g:neco_snip_author`, # Released under current GPL license. # ============== = =========================================================== ${0}'}, 'array': {'word': 'array', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Array.new(${1:10}) { |${2:i}| ${3} }', 'description': 'Array.new(${1:10}) { |${2:i}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 138, 'menu_template': '[nsnip] Array.new(${1:10}) { |${2:i}| ${3} }', 'real_name': 'array', 'action__pattern': '^snippet\s\+array$', 'menu_abbr': 'Array.new(${1:10}) { |${2:i}| ${3} }'}, 'hmt': {'word': 'hmt', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'has_many :${1:association}, :through => ${2}', 'description': 'has_many :${1:association}, :through => ${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 12, 'menu_template': '[nsnip] has_many :${1:association}, :through => ${2}', 'real_name': 'hmt', 'action__pattern': '^snippet\s\+hmt$', 'menu_abbr': 'has_many :${1:association}, :through => ${2}'}, 'mD': {'word': 'mD', 'options': {...}, 'snip': 'File.open(${1:TARGET}, "wb") { |f| Marshal::dump(${2:object}, f)}', 'description': 'File.open(${1:TARGET}, "wb") { |f| Marshal::dump(${2:object}, f)}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 473, 'menu_template': '[nsnip] File.open(${1: }, "wb") { |f| Marshal::dump(${2:object}, f)}', 'real_name': 'marshalDump', 'action__pattern': '^snippet\s\+marshalDump$', 'menu_abbr': 'File.open(${1: }, "wb") { |f| Marshal::dump(${2:object}, f)}'}, 'itshnhdbc': {'word': 'itshnhdbc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should_not have_db_column(:${1:column}).of_type(:${2:type}) }', 'description': 'it { should_not have_db_column(:${1:column}).of_type(:${2:type}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 42, 'menu_template': '[nsnip] it { should_not have_db_column(:${1:column}).of_type(:${2:type}) }', 'real_name': 'itshnhdbc', 'action__pattern': '^snippet\s\+itshnhdbc$', 'menu_abbr': 'it { should_not have_db_column(:${1:column}).of_type(:${2:type}) }'}, 'deep_copy': {'word': 'deep_copy', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Marshal.load(Marshal.dump(${1:obj_to_copy}))${2}', 'description': 'Marshal.load(Marshal.dump(${1:obj_to_copy}))${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 425, 'menu_template': '[nsnip] Marshal.load(Marshal.dump(${1:obj_to_copy}))${2}', 'real_name': 'deep_copy', 'action__pattern': '^snippet\s\+deep_copy$', 'menu_abbr': 'Marshal.load(Marshal.dump(${1:obj_to_copy}))${2}'}, 'optparse': {'word': 'optparse', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'require "optparse"
options = {${1:default => "args"}}
ARGV.options do |opts|
opts.banner = \"Usage: #{File.basename($PROGRAM_NAME)}', 'description': 'require "optparse"
options = {${1:default => "args"}}
ARGV.options do |opts|
opts.banner = \"Usage: #{File.basename($PROGRAM_NAME)}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 395, 'menu_template': '[nsnip] require "optparse" options = {${1:default => "args"}} ARGV.options do |opts| opts.banner = \"Usage: #{File.basename($PROGRAM_NAME)}', 'real_name': 'optparse', 'action__pattern': '^snippet\s\+optparse$', 'menu_abbr': 'require "optparse" options = {${1:default => "args"}} ARGV.options do |opts| opts.banner = \"Usage: #{File.basename($PROGRAM_NAME)}'}, 'assert_throws': {'word': 'assert_throws', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_throws(:${1:expected}) { ${2} }', 'description': 'assert_throws(:${1:expected}) { ${2} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 51, 'menu_template': '[nsnip] assert_throws(:${1:expected}) { ${2} }', 'real_name': 'assert_throws', 'action__pattern': '^snippet\s\+assert_throws$', 'menu_abbr': 'assert_throws(:${1:expected}) { ${2} }'}, 'case': {'word': 'case', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'case ${1:object}
when ${2:condition}
${3}
else
${4}
end', 'description': 'case ${1:object}
when ${2:condition}
${3}
else
${4}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 171, 'menu_template': '[nsnip] case ${1:object} when ${2:condition} ${3} else ${4} end', 'real_name': 'case', 'action__pattern': '^snippet\s\+case$', 'menu_abbr': 'case ${1:object} when ${2:condition} ${3} else ${4} end'}, 'Fdc': {'word': 'Fdc', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.define :${1:obj}, :class => ${2:Class} do |factory|
factory.${3:attribute} ${4}
end', 'description': 'Factory.define :${1:obj}, :class => ${2:Class} do |factory|
factory.${3:attribute} ${4}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 7, 'menu_template': '[nsnip] Factory.define :${1:obj}, :class => ${2:Class} do |factory| factory.${3:attribute} ${4} end', 'real_name': 'Fdc', 'action__pattern': '^snippet\s\+Fdc$', 'menu_abbr': 'Factory.define :${1:obj}, :class => ${2:Class} do |factory| factory.${3:attribute} ${4} end'}, 'opt': {'word': 'opt', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'opts.on( "-${1:o}", "--${2:long-option-name}", ${3:String},
"${4:Option description.}") do |${5:opt}|
${6}
end', 'description': 'opts.on( "-${1:o}", "--${2:long-option-name}", ${3:String},
"${4:Option description.}") do |${5:opt}|
${6}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 402, 'menu_template': '[nsnip] opts.on( "-${1:o}", "--${2:long-option-name}", ${3:String}, "${4:Option description.}") do |${5:opt}| ${6} end', 'real_name': 'opt', 'action__pattern': '^snippet\s\+opt$', 'menu_abbr': 'opts.on( "-${1:o}", "--${2:long-option-name}", ${3:String}, "${4:Option description.}") do |${5:opt}| ${6} end'}, 'itshinclusion': {'word': 'itshinclusion', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should ensure_inclusion_of(:${1:attribute}).in_range(${2:range}) }', 'description': 'it { should ensure_inclusion_of(:${1:attribute}).in_range(${2:range}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_model.snip', 'action__line': 32, 'menu_template': '[nsnip] it { should ensure_inclusion_of(:${1:attribute}).in_range(${2:range}) }', 'real_name': 'itshinclusion', 'action__pattern': '^snippet\s\+itshinclusion$', 'menu_abbr': 'it { should ensure_inclusion_of(:${1:attribute}).in_range(${2:range}) }'}, 'assert_match': {'word': 'assert_match', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert_match(/${1:expected_pattern}/, ${2:actual_string})${3}', 'description': 'assert_match(/${1:expected_pattern}/, ${2:actual_string})${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 33, 'menu_template': '[nsnip] assert_match(/${1:expected_pattern}/, ${2:actual_string})${3}', 'real_name': 'assert_match', 'action__pattern': '^snippet\s\+assert_match$', 'menu_abbr': 'assert_match(/${1:expected_pattern}/, ${2:actual_string})${3}'}, 'defr': {'word': 'defr', 'options': {...}, 'snip': 'def ${1:#:method_name}
${2:TARGET}
rescue ${3:#:StandardError} => ${4:error}
${5}
end', 'description': 'def ${1:#:method_name}
${2:TARGET}
rescue ${3:#:StandardError} => ${4:error}
${5}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 13, 'menu_template': '[nsnip] def ... rescue ... end', 'real_name': 'defrescue', 'action__pattern': '^snippet\s\+defrescue$', 'menu_abbr': 'def ... rescue ... end'}, 'assert': {'word': 'assert', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'assert(${1:test}, "${2:Failure message.}")${3}', 'description': 'assert(${1:test}, "${2:Failure message.}")${3}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/testunit.snip', 'action__line': 14, 'menu_template': '[nsnip] assert', 'real_name': 'assert', 'action__pattern': '^snippet\s\+assert$', 'menu_abbr': 'assert'}, 'mL': {'word': 'mL', 'options': {...}, 'snip': 'File.open(${1:TARGET}, "rb") { |f| Marshal.load(f) }', 'description': 'File.open(${1:TARGET}, "rb") { |f| Marshal.load(f) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 469, 'menu_template': '[nsnip] File.open(${1: }, "rb") { |f| Marshal.load(f) }', 'real_name': 'marshalLoad', 'action__pattern': '^snippet\s\+marshalLoad$', 'menu_abbr': 'File.open(${1: }, "rb") { |f| Marshal.load(f) }'}, 'unless': {'word': 'unless', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'unless ${1:condition}
${2:TARGET}
end', 'description': 'unless ${1:condition}
${2:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 190, 'menu_template': '[nsnip] unless ${1:condition} ${2: } end', 'real_name': 'unless', 'action__pattern': '^snippet\s\+unless$', 'menu_abbr': 'unless ${1:condition} ${2: } end'}, 'down_to': {'word': 'down_to', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'downto(${1:0}) { |${2:n}| ${3} }', 'description': 'downto(${1:0}) { |${2:n}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 161, 'menu_template': '[nsnip] downto(${1:0}) { |${2:n}| ${3} }', 'real_name': 'down_to', 'action__pattern': '^snippet\s\+down_to$', 'menu_abbr': 'downto(${1:0}) { |${2:n}| ${3} }'}, 'dd': {'word': 'dd', 'options': {...}, 'snip': '`strftime("%Y-%m-%d")`${0}', 'description': '`strftime("%Y-%m-%d")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 12, 'menu_template': '[nsnip] `strftime("%Y-%m-%d")`${0}', 'real_name': 'date_day', 'action__pattern': '^snippet\s\+date_day$', 'menu_abbr': '`strftime("%Y-%m-%d")`${0}'}, 'fileopen': {'word': 'fileopen', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'File.open(${1:#:filename}, ''${2:#:mode}'') do |${3:io}|
${0:TARGET}
end', 'description': 'File.open(${1:#:filename}, ''${2:#:mode}'') do |${3:io}|
${0:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 46, 'menu_template': '[nsnip] File.open(filename) do ... end', 'real_name': 'fileopen', 'action__pattern': '^snippet\s\+fileopen$', 'menu_abbr': 'File.open(filename) do ... end'}, 'itshsetst': {'word': 'itshsetst', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'it { should set_session(:${1:key}).to(${2:value}) }', 'description': 'it { should set_session(:${1:key}).to(${2:value}) }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rspec_shoulda_controller.snip', 'action__line': 36, 'menu_template': '[nsnip] it { should set_session(:${1:key}).to(${2:value}) }', 'real_name': 'itshsetst', 'action__pattern': '^snippet\s\+itshsetst$', 'menu_abbr': 'it { should set_session(:${1:key}).to(${2:value}) }'}, 'random_sort': {'word': 'random_sort', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'sort_by { rand }${0}', 'description': 'sort_by { rand }${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 345, 'menu_template': '[nsnip] sort_by { rand }${0}', 'real_name': 'random_sort', 'action__pattern': '^snippet\s\+random_sort$', 'menu_abbr': 'sort_by { rand }${0}'}, 'vpo': {'word': 'vpo', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'validates_presence_of :${1:attribute}', 'description': 'validates_presence_of :${1:attribute}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_model.snip', 'action__line': 16, 'menu_template': '[nsnip] validates_presence_of :${1:attribute}', 'real_name': 'vpo', 'action__pattern': '^snippet\s\+vpo$', 'menu_abbr': 'validates_presence_of :${1:attribute}'}, 'do': {'word': 'do', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'do
${1:TARGET}
end', 'description': 'do
${1:TARGET}
end', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/ruby.snip', 'action__line': 22, 'menu_template': '[nsnip] do ... end', 'real_name': 'do', 'action__pattern': '^snippet\s\+do$', 'menu_abbr': 'do ... end'}, 'dt': {'word': 'dt', 'options': {...}, 'snip': '`strftime("%H:%M:%S")`${0}', 'description': '`strftime("%H:%M:%S")`${0}', 'action__path': '/Users/zhaocai/.vim/bundle/neosnippet/autoload/neosnippet/snippets/_.snip', 'action__line': 17, 'menu_template': '[nsnip] `strftime("%H:%M:%S")`${0}', 'real_name': 'date_time', 'action__pattern': '^snippet\s\+date_time$', 'menu_abbr': '`strftime("%H:%M:%S")`${0}'}, 'map_with_index': {'word': 'map_with_index', 'options': {'word': 1, 'indent': 0, 'head': 0}, 'snip': 'enum_with_index.map { |${1:e}, ${2:i}| ${3} }', 'description': 'enum_with_index.map { |${1:e}, ${2:i}| ${3} }', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/ruby.snip', 'action__line': 335, 'menu_template': '[nsnip] enum_with_index.map { |${1:e}, ${2:i}| ${3} }', 'real_name': 'map_with_index', 'action__pattern': '^snippet\s\+map_with_index$', 'menu_abbr': 'enum_with_index.map { |${1:e}, ${2:i}| ${3} }'}, 'shcft': {'word': 'shcft', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'should_change "${1:expression}", :from => ${2:from}, :to => ${3:to}', 'description': 'should_change "${1:expression}", :from => ${2:from}, :to => ${3:to}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/shoulda.snip', 'action__line': 8, 'menu_template': '[nsnip] should_change "${1:expression}", :from => ${2:from}, :to => ${3:to}', 'real_name': 'shcft', 'action__pattern': '^snippet\s\+shcft$', 'menu_abbr': 'should_change "${1:expression}", :from => ${2:from}, :to => ${3:to}'}, 'wants': {'word': 'wants', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'wants.${1:js|json|xml|html}${2}', 'description': 'wants.${1:js|json|xml|html}${2}', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/rails_controller.snip', 'action__line': 7, 'menu_template': '[nsnip] wants.${1:js|json|xml|html}${2}', 'real_name': 'wants', 'action__pattern': '^snippet\s\+wants$', 'menu_abbr': 'wants.${1:js|json|xml|html}${2}'}, 'Fa': {'word': 'Fa', 'options': {'word': 0, 'indent': 0, 'head': 0}, 'snip': 'Factory.attributes_for(:${1:factory})', 'description': 'Factory.attributes_for(:${1:factory})', 'action__path': '/Users/zhaocai/.vim/bundle/neco-snip/snip/ruby/factory_girl.snip', 'action__line': 28, 'menu_template': '[nsnip] Factory.attributes_for(:${1:factory})', 'real_name': 'Fa', 'action__pattern': '^snippet\s\+Fa$', 'menu_abbr': 'Factory.attributes_for(:${1:factory})'}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment