Comprehensive collection of Ruby snippets for yasnippet. Includes snippets for Rails and RSpec.
Roff
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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 added .yas-parents and .yas-make-groups Jan 15, 2012
.yas-parents added .yas-parents and .yas-make-groups Jan 15, 2012
:
=b
Array adds "key" to all snippets Nov 29, 2011
Comp
Dir adds "key" to all snippets Nov 29, 2011
Enum
File adds "key" to all snippets Nov 29, 2011
File.1 adds "key" to all snippets Nov 29, 2011
File.2 adds "key" to all snippets Nov 29, 2011
Forw- adds "key" to all snippets Nov 29, 2011
Hash adds "key" to all snippets Nov 29, 2011
Md adds "key" to all snippets Nov 29, 2011
Ml adds "key" to all snippets Nov 29, 2011
Pn- adds "key" to all snippets Nov 29, 2011
README.markdown
Yd- adds "key" to all snippets Nov 29, 2011
Yl-
aa
ae adds "key" to all snippets Nov 29, 2011
ako adds "key" to all snippets Nov 29, 2011
all adds "key" to all snippets Nov 29, 2011
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 adds "key" to all snippets Nov 29, 2011
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 adds "key" to all snippets Nov 29, 2011
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
asnn
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
asr
asrt adds "key" to all snippets Nov 29, 2011
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 adds "key" to all snippets Nov 29, 2011
case adds "key" to all snippets Nov 29, 2011
cl adds "key" to all snippets Nov 29, 2011
cla
cla-
cla.1 adds "key" to all snippets Nov 29, 2011
cla.2
cla.3
cla.4 adds "key" to all snippets Nov 29, 2011
clafn
classify
cls updated broken cls snippet Jan 15, 2012
col adds "key" to all snippets Nov 29, 2011
collect adds "key" to all snippets Nov 29, 2011
dee
deec adds "key" to all snippets Nov 29, 2011
def adds "key" to all snippets Nov 29, 2011
defd adds "key" to all snippets Nov 29, 2011
defds
defmm
defs adds "key" to all snippets Nov 29, 2011
deft
deli
desc adds "key" to all snippets Nov 29, 2011
det adds "key" to all snippets Nov 29, 2011
do
dow adds "key" to all snippets Nov 29, 2011
ea
eab adds "key" to all snippets Nov 29, 2011
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 adds "key" to all snippets Nov 29, 2011
eawi adds "key" to all snippets Nov 29, 2011
fet adds "key" to all snippets Nov 29, 2011
fil
filedn adds "key" to all snippets Nov 29, 2011
fin
fina adds "key" to all snippets Nov 29, 2011
fl adds "key" to all snippets Nov 29, 2011
flao adds "key" to all snippets Nov 29, 2011
flsh adds "key" to all snippets Nov 29, 2011
forin
gre
gsu
hm
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
lam
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 adds "key" to all snippets Nov 29, 2011
min adds "key" to all snippets Nov 29, 2011
mm adds "key" to all snippets Nov 29, 2011
mod adds "key" to all snippets Nov 29, 2011
mod.1
module adds "key" to all snippets Nov 29, 2011
nam
ope adds "key" to all snippets Nov 29, 2011
opt adds "key" to all snippets Nov 29, 2011
optp
par adds "key" to all snippets Nov 29, 2011
patfh
pend adds "key" to all snippets Nov 29, 2011
r adds "key" to all snippets Nov 29, 2011
ra adds "key" to all snippets Nov 29, 2011
ral adds "key" to all snippets Nov 29, 2011
ran adds "key" to all snippets Nov 29, 2011
rb
rcea adds "key" to all snippets Nov 29, 2011
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 adds "key" to all snippets Nov 29, 2011
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 adds "key" to all snippets Nov 29, 2011
reject
rep
req adds "key" to all snippets Nov 29, 2011
res
reve adds "key" to all snippets Nov 29, 2011
rf adds "key" to all snippets Nov 29, 2011
rfu adds "key" to all snippets Nov 29, 2011
ri adds "key" to all snippets Nov 29, 2011
ril adds "key" to all snippets Nov 29, 2011
rit adds "key" to all snippets Nov 29, 2011
rl adds "key" to all snippets Nov 29, 2011
rn adds "key" to all snippets Nov 29, 2011
rns
rp adds "key" to all snippets Nov 29, 2011
rpc adds "key" to all snippets Nov 29, 2011
rpl adds "key" to all snippets Nov 29, 2011
rpo
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
rw adds "key" to all snippets Nov 29, 2011
sca
sel adds "key" to all snippets Nov 29, 2011
select
ses
sinc adds "key" to all snippets Nov 29, 2011
sor
sorb adds "key" to all snippets Nov 29, 2011
sr adds "key" to all snippets Nov 29, 2011
ste
sub adds "key" to all snippets Nov 29, 2011
task
task.1 adds "key" to all snippets Nov 29, 2011
tc adds "key" to all snippets Nov 29, 2011
tim adds "key" to all snippets Nov 29, 2011
tra
ts adds "key" to all snippets Nov 29, 2011
unif adds "key" to all snippets Nov 29, 2011
unless adds "key" to all snippets Nov 29, 2011
until
upt
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 adds "key" to all snippets Nov 29, 2011
vn
vp adds "key" to all snippets Nov 29, 2011
vu adds "key" to all snippets Nov 29, 2011
w adds "key" to all snippets Nov 29, 2011
when adds "key" to all snippets Nov 29, 2011
while
xml- adds "key" to all snippets Nov 29, 2011
xpa adds "key" to all snippets Nov 29, 2011
y adds "key" to all snippets Nov 29, 2011
zip adds "key" to all snippets Nov 29, 2011
{ 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!