Skip to content
Comprehensive collection of Ruby snippets for yasnippet. Includes snippets for Rails and RSpec.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
#
:
=b
Array
Comp
Dir
Enum
File
File.1
File.2
Forw-
Hash
Md
Ml
Pn-
README.markdown
Yd-
Yl-
all
am
any
app
as
ase
asid
asio
asko
asm
asn
asne
asnm
asnn
asnr
asns
asnt
aso
asr
asrt
ass
ass.1
ast
begin
bm
bm-
case
cl
cla
cla-
cla.1
cla.2
cla.3
cla.4
clafn
cls
col
collect
dee
deec
def
defd
defds
defmm
defs
deft
deli
det
do
dow
ea
eab
eac
eac-
eac-.1
eai
eak
eal
eap
eas-
eav
eawi
elsif
end
fet
fil
filedn
fin
fina
fl
flao
forin
gre
gsu
if
ife
inj
inject
lam
loo
map
mapwi-
max
min
mm
mod
mod.1
mod.2
nam
ope
opt
optp
par
patfh
r
ran
rb
rej
rep
req
reve
rreq
rw
sca
sel
sinc
sor
sorb
ste
sub
task
task.1
tc
tim
tra
ts
unif
unless
until
upt
usai
usau
w
when
while
xml-
xpa
y
zip

README.markdown

Snippets for Ruby Mode

Comprehensive collection of Ruby snippets for yasnippet. Note that most of these snippets won't work (yet), since they were automatically converted from the TextMate repository. This is a work in progress.

Note that some of the snippets are changed from how they are defined in the official Yasnippet distribution, with a preference towards how they are defined in TextMate. I.e, the reject snippet is here triggered with 'rej' instead of 'reject'.

Something went wrong with that request. Please try again.