Last commit before tagging and releasing

This commit is contained in:
capitaomorte
2009-08-29 17:59:02 +00:00
parent 15c7703b5b
commit b8dcf61367
640 changed files with 4360 additions and 77 deletions

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: Array
# contributor: Translated from TextMate Snippet
# name: Array.new(10) { |i| .. }
# --
Array.new(${1:10}) { ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${2:i}${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}$0 }

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: deli
# contributor: Translated from TextMate Snippet
# name: delete_if { |e| .. }
# --
delete_if { |${1:e}| $0 }

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: fil
# contributor: Translated from TextMate Snippet
# name: fill(range) { |i| .. }
# --
fill(${1:range}) { ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${2:i}${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}$0 }

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: flao
# contributor: Translated from TextMate Snippet
# name: flatten_once()
# --
inject(Array.new) { |${1:arr}, ${2:a}| ${1:arr}.push(*${2:a}) }

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: zip
# contributor: Translated from TextMate Snippet
# name: zip(enums) { |row| .. }
# --
zip(${1:enums}) { |${2:row}| $0 }