<?xml version="1.0" encoding="UTF-8"?>
<snippets language="Ruby">
  <snippet id="forin">
    <text><![CDATA[for ${1:element} in ${2:collection}
	${1:element}.$0
end]]></text>
    <description>for .. in .. end</description>
    <tag>forin</tag>
  </snippet>
  <snippet id="inject">
    <text><![CDATA[inject(${1:object}) { |${2:injection}, ${3:element}| $0 }]]></text>
    <description>inject object</description>
    <tag>inject</tag>
  </snippet>
  <snippet id="reject">
    <text><![CDATA[reject { |${1:element}| ${1:element}.$0 }]]></text>
    <description>reject element</description>
    <tag>reject</tag>
  </snippet>
  <snippet id="select">
    <text><![CDATA[select { |${1:element}| ${1:element}.$0 }]]></text>
    <description>select element</description>
    <tag>select</tag>
  </snippet>
  <snippet id="ife">
    <text><![CDATA[if ${1:condition}
	$2
else
	$3
end]]></text>
    <description>if .. else .. end</description>
    <tag>ife</tag>
  </snippet>
  <snippet id="if">
    <text><![CDATA[if ${1:condition}
	$0
end]]></text>
    <description>if .. end</description>
    <tag>if</tag>
  </snippet>
  <snippet id="case">
    <text><![CDATA[case ${1:object}
	when ${2:condition}
		$0
end]]></text>
    <description>case .. end</description>
    <tag>case</tag>
  </snippet>
  <snippet id="begin">
    <text><![CDATA[begin
	$1
rescue ${2:Exception} => ${3:e}
	$0
end]]></text>
    <description>begin .. rescue .. end</description>
    <tag>begin</tag>
  </snippet>
  <snippet id="class">
    <text><![CDATA[class ${1:class_name}
	$0
end]]></text>
    <description>class .. end</description>
    <tag>class</tag>
  </snippet>
  <snippet id="collecto">
    <text><![CDATA[collect do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>collect element do</description>
    <tag>collecto</tag>
  </snippet>
  <snippet id="collect">
    <text><![CDATA[collect { |${1:element}| ${1:element}.$0 }]]></text>
    <description>collect element</description>
    <tag>collect</tag>
  </snippet>
  <snippet id="def">
    <text><![CDATA[def ${1:method_name}
	$0
end]]></text>
    <description>def .. end</description>
    <tag>def</tag>
  </snippet>
  <snippet id="do">
    <text><![CDATA[do
	$0
end]]></text>
    <description>do .. end</description>
    <tag>do</tag>
  </snippet>
  <snippet id="doo">
    <text><![CDATA[do |${1:object}|
	$0
end]]></text>
    <description>do |object| .. end</description>
    <tag>doo</tag>
  </snippet>
  <snippet id="eacho">
    <text><![CDATA[each do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>each element do</description>
    <tag>eacho</tag>
  </snippet>
  <snippet id="each">
    <text><![CDATA[each { |${1:element}| ${1:element}.$0 }]]></text>
    <description>each element</description>
    <tag>each</tag>
  </snippet>
  <snippet id="each_with_indexo">
    <text><![CDATA[each_with_index do |${1:element}, ${2:idx}|
	${1:element}.$0
end]]></text>
    <description>each_with_index do</description>
    <tag>eachwithindexo</tag>
  </snippet>
  <snippet id="each_with_index">
    <text><![CDATA[each_with_index { |${1:element}, ${2:idx}| ${1:element}.$0 }]]></text>
    <description>each_with_index</description>
    <tag>eachwithindex</tag>
  </snippet>
  <snippet id=":">
    <text><![CDATA[:${1:key} => ${2:"value"}${3:, }]]></text>
    <description>hash pair</description>
    <tag>:</tag>
  </snippet>
  <snippet id="hashpointer">
    <text><![CDATA[ => ]]></text>
    <accelerator><![CDATA[<Shift><Alt>l]]></accelerator>
    <description>hash pointer</description>
  </snippet>
  <snippet id="injecto">
    <text><![CDATA[inject(${1:object}) do |${2:injection}, ${3:element}| 
	$0
end]]></text>
    <description>inject object do</description>
    <tag>injecto</tag>
  </snippet>
  <snippet id="rejecto">
    <text><![CDATA[reject do |${1:element}| 
	${1:element}.$0
end]]></text>
    <description>reject element do</description>
    <tag>rejecto</tag>
  </snippet>
  <snippet id="selecto">
    <text><![CDATA[select do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>select element do</description>
    <tag>selecto</tag>
  </snippet>
  <snippet id="unless">
    <text><![CDATA[unless ${1:condition}
	$0
end]]></text>
    <description>unless</description>
    <tag>unless</tag>
  </snippet>
  <snippet id="when">
    <text><![CDATA[when ${1:condition}
	$0]]></text>
    <description>when</description>
    <tag>when</tag>
  </snippet>
</snippets>
