Comprehensive collection of Ruby snippets for yasnippet. Includes snippets for Rails and RSpec.
Roff
Latest commit cee3044 Feb 15, 2017 @bmaland committed on GitHub Merge pull request #8 from benjamreynolds/patch-1
Update rspec-mode link in README
Permalink
Failed to load latest commit information.
rspec-mode rspec: its Oct 25, 2012
!env
# adds "key" to all snippets Nov 29, 2011
.yas-make-groups
.yas-parents
:
=b
Array
Comp adds "key" to all snippets Nov 29, 2011
Dir adds "key" to all snippets Nov 29, 2011
Enum
File
File.1 adds "key" to all snippets Nov 29, 2011
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
ae
ako
all
am
ann adds "key" to all snippets Nov 29, 2011
any adds "key" to all snippets Nov 29, 2011
app
ar
ars adds "key" to all snippets Nov 29, 2011
art
as
ase adds "key" to all snippets Nov 29, 2011
asid adds "key" to all snippets Nov 29, 2011
asio
asko
asm
asn
asne adds "key" to all snippets Nov 29, 2011
asnm
asnn adds "key" to all snippets Nov 29, 2011
asnr
asns adds "key" to all snippets Nov 29, 2011
asnt
aso adds "key" to all snippets Nov 29, 2011
asr
asrt adds "key" to all snippets Nov 29, 2011
ass
ass.1
ast
begin
bm
bm-
bt
case
cl adds "key" to all snippets Nov 29, 2011
cla adds "key" to all snippets Nov 29, 2011
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
cls
col
collect adds "key" to all snippets Nov 29, 2011
dee adds "key" to all snippets Nov 29, 2011
deec adds "key" to all snippets Nov 29, 2011
def adds "key" to all snippets Nov 29, 2011
defd
defds adds "key" to all snippets Nov 29, 2011
defmm adds "key" to all snippets Nov 29, 2011
defs
deft adds "key" to all snippets Nov 29, 2011
deli
desc
det
do
dow adds "key" to all snippets Nov 29, 2011
ea
eab adds "key" to all snippets Nov 29, 2011
eac
eac- adds "key" to all snippets Nov 29, 2011
eai adds "key" to all snippets Nov 29, 2011
eak adds "key" to all snippets Nov 29, 2011
eal adds "key" to all snippets Nov 29, 2011
eap adds "key" to all snippets Nov 29, 2011
eas-
eav adds "key" to all snippets Nov 29, 2011
eawi
fet
fil adds "key" to all snippets Nov 29, 2011
filedn
fin adds "key" to all snippets Nov 29, 2011
fina
fl
flao
flsh
forin
gre
gsu
hm
ho
i
if
ife
inj
inject adds "key" to all snippets Nov 29, 2011
lam
logi
loo
map
mapwi-
max
min
mm
mod adds "key" to all snippets Nov 29, 2011
mod.1
module
nam
ope adds "key" to all snippets Nov 29, 2011
opt
optp
par adds "key" to all snippets Nov 29, 2011
patfh adds "key" to all snippets Nov 29, 2011
pend
r adds "key" to all snippets Nov 29, 2011
ra
ral adds "key" to all snippets Nov 29, 2011
ran adds "key" to all snippets Nov 29, 2011
rb adds "key" to all snippets Nov 29, 2011
rcea adds "key" to all snippets Nov 29, 2011
rcec
rceca
rea adds "key" to all snippets Nov 29, 2011
reai
rec
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
res
reve
rf
rfu adds "key" to all snippets Nov 29, 2011
ri
ril
rit
rl
rn adds "key" to all snippets Nov 29, 2011
rns adds "key" to all snippets Nov 29, 2011
rp
rpc adds "key" to all snippets Nov 29, 2011
rpl adds "key" to all snippets Nov 29, 2011
rpo adds "key" to all snippets Nov 29, 2011
rps
rreq
rt
rtl
rtlt adds "key" to all snippets Nov 29, 2011
rts
rw
sca
sel adds "key" to all snippets Nov 29, 2011
select
ses adds "key" to all snippets Nov 29, 2011
sinc
sor adds "key" to all snippets Nov 29, 2011
sorb
sr
ste
sub
task adds "key" to all snippets Nov 29, 2011
task.1
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
unless
until adds "key" to all snippets Nov 29, 2011
upt
usai
usau adds "key" to all snippets Nov 29, 2011
va adds "key" to all snippets Nov 29, 2011
vc
ve adds "key" to all snippets Nov 29, 2011
vf adds "key" to all snippets Nov 29, 2011
vi
vn
vp
vu adds "key" to all snippets Nov 29, 2011
w
when adds "key" to all snippets Nov 29, 2011
while adds "key" to all snippets Nov 29, 2011
xml-
xpa
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!