Comprehensive collection of Ruby snippets for yasnippet. Includes snippets for Rails and RSpec.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rspec-mode
!env adds "key" to all snippets Nov 29, 2011
# adds "key" to all snippets Nov 29, 2011
.yas-make-groups
.yas-parents added .yas-parents and .yas-make-groups Jan 15, 2012
: adds "key" to all snippets Nov 29, 2011
=b
Array
Comp
Dir
Enum
File
File.1
File.2
Forw-
Hash
Md
Ml adds "key" to all snippets Nov 29, 2011
Pn- adds "key" to all snippets Nov 29, 2011
README.markdown
Yd-
Yl-
aa adds "key" to all snippets Nov 29, 2011
ae adds "key" to all snippets Nov 29, 2011
ako adds "key" to all snippets Nov 29, 2011
all
am
ann adds "key" to all snippets Nov 29, 2011
any adds "key" to all snippets Nov 29, 2011
app adds "key" to all snippets Nov 29, 2011
ar
ars adds "key" to all snippets Nov 29, 2011
art adds "key" to all snippets Nov 29, 2011
as adds "key" to all snippets Nov 29, 2011
ase
asid adds "key" to all snippets Nov 29, 2011
asio adds "key" to all snippets Nov 29, 2011
asko
asm adds "key" to all snippets Nov 29, 2011
asn adds "key" to all snippets Nov 29, 2011
asne adds "key" to all snippets Nov 29, 2011
asnm adds "key" to all snippets Nov 29, 2011
asnn adds "key" to all snippets Nov 29, 2011
asnr adds "key" to all snippets Nov 29, 2011
asns adds "key" to all snippets Nov 29, 2011
asnt adds "key" to all snippets Nov 29, 2011
aso adds "key" to all snippets Nov 29, 2011
asr
asrt
ass adds "key" to all snippets Nov 29, 2011
ass.1 adds "key" to all snippets Nov 29, 2011
ast
begin adds "key" to all snippets Nov 29, 2011
bm
bm-
bt
case adds "key" to all snippets Nov 29, 2011
cl adds "key" to all snippets Nov 29, 2011
cla
cla- adds "key" to all snippets Nov 29, 2011
cla.1 adds "key" to all snippets Nov 29, 2011
cla.2 adds "key" to all snippets Nov 29, 2011
cla.3
cla.4
clafn
classify adds "key" to all snippets Nov 29, 2011
cls
col
collect
dee
deec
def adds "key" to all snippets Nov 29, 2011
defd adds "key" to all snippets Nov 29, 2011
defds
defmm adds "key" to all snippets Nov 29, 2011
defs
deft
deli adds "key" to all snippets Nov 29, 2011
desc
det adds "key" to all snippets Nov 29, 2011
do adds "key" to all snippets Nov 29, 2011
dow
ea
eab
eac adds "key" to all snippets Nov 29, 2011
eac- adds "key" to all snippets Nov 29, 2011
eai
eak
eal
eap adds "key" to all snippets Nov 29, 2011
eas- adds "key" to all snippets Nov 29, 2011
eav
eawi
fet
fil adds "key" to all snippets Nov 29, 2011
filedn
fin
fina
fl adds "key" to all snippets Nov 29, 2011
flao
flsh adds "key" to all snippets Nov 29, 2011
forin
gre adds "key" to all snippets Nov 29, 2011
gsu
hm adds "key" to all snippets Nov 29, 2011
ho adds "key" to all snippets Nov 29, 2011
i adds "key" to all snippets Nov 29, 2011
if adds "key" to all snippets Nov 29, 2011
ife
inj adds "key" to all snippets Nov 29, 2011
inject adds "key" to all snippets Nov 29, 2011
lam adds "key" to all snippets Nov 29, 2011
logi adds "key" to all snippets Nov 29, 2011
loo adds "key" to all snippets Nov 29, 2011
map adds "key" to all snippets Nov 29, 2011
mapwi- adds "key" to all snippets Nov 29, 2011
max
min
mm
mod adds "key" to all snippets Nov 29, 2011
mod.1 adds "key" to all snippets Nov 29, 2011
module adds "key" to all snippets Nov 29, 2011
nam
ope
opt adds "key" to all snippets Nov 29, 2011
optp
par adds "key" to all snippets Nov 29, 2011
patfh adds "key" to all snippets Nov 29, 2011
pend adds "key" to all snippets Nov 29, 2011
r adds "key" to all snippets Nov 29, 2011
ra
ral
ran adds "key" to all snippets Nov 29, 2011
rb
rcea
rcec adds "key" to all snippets Nov 29, 2011
rceca adds "key" to all snippets Nov 29, 2011
rea adds "key" to all snippets Nov 29, 2011
reai
rec adds "key" to all snippets Nov 29, 2011
reca adds "key" to all snippets Nov 29, 2011
recai adds "key" to all snippets Nov 29, 2011
rej
reject
rep adds "key" to all snippets Nov 29, 2011
req
res
reve
rf adds "key" to all snippets Nov 29, 2011
rfu
ri adds "key" to all snippets Nov 29, 2011
ril adds "key" to all snippets Nov 29, 2011
rit
rl adds "key" to all snippets Nov 29, 2011
rn adds "key" to all snippets Nov 29, 2011
rns
rp
rpc adds "key" to all snippets Nov 29, 2011
rpl
rpo adds "key" to all snippets Nov 29, 2011
rps adds "key" to all snippets Nov 29, 2011
rreq adds "key" to all snippets Nov 29, 2011
rt adds "key" to all snippets Nov 29, 2011
rtl
rtlt
rts adds "key" to all snippets Nov 29, 2011
rw
sca
sel
select
ses
sinc adds "key" to all snippets Nov 29, 2011
sor
sorb
sr adds "key" to all snippets Nov 29, 2011
ste adds "key" to all snippets Nov 29, 2011
sub
task adds "key" to all snippets Nov 29, 2011
task.1
tc
tim
tra
ts
unif adds "key" to all snippets Nov 29, 2011
unless adds "key" to all snippets Nov 29, 2011
until
upt adds "key" to all snippets Nov 29, 2011
usai
usau adds "key" to all snippets Nov 29, 2011
va
vc adds "key" to all snippets Nov 29, 2011
ve adds "key" to all snippets Nov 29, 2011
vf
vi
vn
vp adds "key" to all snippets Nov 29, 2011
vu
w
when adds "key" to all snippets Nov 29, 2011
while adds "key" to all snippets Nov 29, 2011
xml-
xpa adds "key" to all snippets Nov 29, 2011
y
zip
{ adds "key" to all snippets Nov 29, 2011

README.markdown

Snippets for Ruby Mode

About

Comprehensive collection of Ruby snippets for yasnippet. The collection also contains snippets for major Ruby frameworks like Rails and RSpec.

The Rails snippets were originally borrowed from mknittig/yasnippet-rails.

The RSpec snippets require that RSpec files are edited in a separate Emacs mode. I recommend using rspec-mode. The RSpec snippets were originally borrowed from gary/yasnippets-rspec.

Contributors

See https://github.com/bmaland/yasnippet-ruby-mode/contributors

Much of the credits should naturally go to the yasnippet-rails and yasnippet-rspec authors.

Thanks to Jeff Wheeler for his work on the snippet_copier.py script!