Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added yasnippet-compatible versions of most* rSpec snippets from text…

…mate.

see the README for differences.
  • Loading branch information...
commit c407d2a940b1f9351e7d09de0579183b5e38ef6a 1 parent 00d867e
@gary authored
Showing with 499 additions and 0 deletions.
  1. +4 −0 TODO
  2. +7 −0 rspec-snippets/aft
  3. +5 −0 rspec-snippets/annot
  4. +5 −0 rspec-snippets/anr
  5. +5 −0 rspec-snippets/anra
  6. +5 −0 rspec-snippets/anrb
  7. +5 −0 rspec-snippets/ant
  8. +3 −0  rspec-snippets/any
  9. +5 −0 rspec-snippets/atl
  10. +5 −0 rspec-snippets/atm
  11. +7 −0 rspec-snippets/bef
  12. +5 −0 rspec-snippets/conn
  13. +11 −0 rspec-snippets/des
  14. +11 −0 rspec-snippets/desc
  15. +11 −0 rspec-snippets/desrc.delete
  16. +11 −0 rspec-snippets/desrc.get
  17. +11 −0 rspec-snippets/desrc.post
  18. +11 −0 rspec-snippets/desrc.put
  19. +11 −0 rspec-snippets/dest
  20. +11 −0 rspec-snippets/dests
  21. +5 −0 rspec-snippets/ex
  22. +6 −0 rspec-snippets/fm
  23. +6 −0 rspec-snippets/fmar
  24. +7 −0 rspec-snippets/it
  25. +28 −0 rspec-snippets/mat
  26. +7 −0 rspec-snippets/mocw.flexmock
  27. +7 −0 rspec-snippets/mocw.mocha
  28. +7 −0 rspec-snippets/mocw.rr
  29. +5 −0 rspec-snippets/on
  30. +5 −0 rspec-snippets/resh
  31. +10 −0 rspec-snippets/sce
  32. +6 −0 rspec-snippets/sh=
  33. +6 −0 rspec-snippets/shb
  34. +6 −0 rspec-snippets/shbc
  35. +6 −0 rspec-snippets/shbio
  36. +6 −0 rspec-snippets/shbko
  37. +6 −0 rspec-snippets/shbr
  38. +6 −0 rspec-snippets/shbs
  39. +6 −0 rspec-snippets/she.eql
  40. +6 −0 rspec-snippets/she.equal
  41. +6 −0 rspec-snippets/shh
  42. +6 −0 rspec-snippets/shhal
  43. +6 −0 rspec-snippets/shham
  44. +6 −0 rspec-snippets/shhr
  45. +6 −0 rspec-snippets/shm.match
  46. +6 −0 rspec-snippets/shm.~
  47. +6 −0 rspec-snippets/shn=
  48. +6 −0 rspec-snippets/shnb
  49. +6 −0 rspec-snippets/shnbc
  50. +6 −0 rspec-snippets/shnbio
  51. +6 −0 rspec-snippets/shnbko
  52. +6 −0 rspec-snippets/shnbr
  53. +6 −0 rspec-snippets/shnbs
  54. +6 −0 rspec-snippets/shne.eql
  55. +6 −0 rspec-snippets/shne.equal
  56. +6 −0 rspec-snippets/shnm.match
  57. +6 −0 rspec-snippets/shnm.~
  58. +5 −0 rspec-snippets/shnp
  59. +5 −0 rspec-snippets/shnr
  60. +6 −0 rspec-snippets/shnre
  61. +6 −0 rspec-snippets/shnrt
  62. +6 −0 rspec-snippets/shns
  63. +6 −0 rspec-snippets/shnt
  64. +5 −0 rspec-snippets/shp
  65. +5 −0 rspec-snippets/shr
  66. +6 −0 rspec-snippets/shre
  67. +6 −0 rspec-snippets/shrt.redirect
  68. +6 −0 rspec-snippets/shrt.render
  69. +6 −0 rspec-snippets/shrt.respond
  70. +6 −0 rspec-snippets/shs
  71. +6 −0 rspec-snippets/sht
  72. +10 −0 rspec-snippets/sto
  73. +5 −0 rspec-snippets/tw
  74. +6 −0 rspec-snippets/wia
View
4 TODO
@@ -0,0 +1,4 @@
+elunit
+
+missing conversions:
+moc: mock
View
7 rspec-snippets/aft
@@ -0,0 +1,7 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : after
+# --
+after(${1::each}) do
+ $0
+end
View
5 rspec-snippets/annot
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : any_number_of_times
+# --
+any_number_of_times
View
5 rspec-snippets/anr
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : and_raise
+# --
+and_raise(${1:exception})
View
5 rspec-snippets/anra
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : and_return with args
+# --
+and_return(${1:value})
View
5 rspec-snippets/anrb
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : and_return with block
+# --
+and_return { $1 }
View
5 rspec-snippets/ant
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : and_throw
+# --
+and_throw(${1:sym})
View
3  rspec-snippets/any
@@ -0,0 +1,3 @@
+#name : any? { |...| ... }
+# --
+any? { |${e}| $0 }
View
5 rspec-snippets/atl
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : at_least
+# --
+at_least(${1:n}).times
View
5 rspec-snippets/atm
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : at_most
+# --
+at_most(${1:n}).times
View
7 rspec-snippets/bef
@@ -0,0 +1,7 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : before
+# --
+before(${1::each}) do
+ $0
+end
View
5 rspec-snippets/conn
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : controller_name
+# --
+controller_name :${1:controller}
View
11 rspec-snippets/des
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (String)
+# --
+describe '${1:description}' do
+
+ it 'should ${2:description}' do
+ $0
+ end
+
+end
View
11 rspec-snippets/desc
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (Controller)
+# --
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe ${1:controller} do
+
+ $0
+
+end
View
11 rspec-snippets/desrc.delete
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (RESTful Controller): DELETE
+# --
+require File.direname(__FILE__) + '/.../spec_helper'
+
+describe ${1:controller}, 'DELETE ${3:/some/path}${4: with some parameters}' do
+
+ $0
+
+end
View
11 rspec-snippets/desrc.get
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (RESTful Controller): GET
+# --
+require File.direname(__FILE__) + '/.../spec_helper'
+
+describe ${1:controller}, 'GET ${3:/some/path}${4: with some parameters}' do
+
+ $0
+
+end
View
11 rspec-snippets/desrc.post
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (RESTful Controller): POST
+# --
+require File.direname(__FILE__) + '/.../spec_helper'
+
+describe ${1:controller}, 'POST ${3:/some/path}${4: with some parameters}' do
+
+ $0
+
+end
View
11 rspec-snippets/desrc.put
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (RESTful Controller): PUT
+# --
+require File.direname(__FILE__) + '/.../spec_helper'
+
+describe ${1:controller}, 'PUT ${3:/some/path}${4: with some parameters}' do
+
+ $0
+
+end
View
11 rspec-snippets/dest
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (type)
+# --
+describe ${1:Type} do
+
+ it 'should ${2:description}' do
+ $0
+ end
+
+end
View
11 rspec-snippets/dests
@@ -0,0 +1,11 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : describe (type, string)
+# --
+describe ${1:Type}, '${2:description}' do
+
+ it 'should ${3:description}' do
+ $0
+ end
+
+end
View
5 rspec-snippets/ex
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : exactly
+# --
+exactly(${1:n}).times
View
6 rspec-snippets/fm
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : flexmock mock object w/name
+# --
+${1:var} = flexmock('${2:mock_name}')
+$0
View
6 rspec-snippets/fmar
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : flexmock mock object, ActiveRecord
+# --
+${1:var} = flexmock(:model, ${2:YourModel})
+$0
View
7 rspec-snippets/it
@@ -0,0 +1,7 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#it ... end
+# --
+it 'should ${1:description}' do
+ $0
+end
View
28 rspec-snippets/mat
@@ -0,0 +1,28 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : custom matcher
+# --
+class ${1:ReverseTo}
+ def initialize($3)
+ @$3 = $3
+ end
+
+ def matches?(actual)
+ @actual = actual
+ # Satisfy expectation here. Return false or raise an error if it's not met.
+ $0@actual.reverse.should == @$3
+ true
+ end
+
+ def failure_message
+ "expected #{@actual.inspect} to $2 #{@$3.inspect}, but it didn't"
+ end
+
+ def negative_failure_message
+ "expected #{@actual.inspect} not to $2 #{@$3.inspect}, but it did"
+ end
+end
+
+def ${2:reverse_to}(${3:expected})
+ $1.new($3)
+end
View
7 rspec-snippets/mocw.flexmock
@@ -0,0 +1,7 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : mock_with flexmock
+# --
+Spec::Runner.configure do |config|
+ config.mock_with :flexmock
+end
View
7 rspec-snippets/mocw.mocha
@@ -0,0 +1,7 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : mock_with mocha
+# --
+Spec::Runner.configure do |config|
+ config.mock_with :mocha
+end
View
7 rspec-snippets/mocw.rr
@@ -0,0 +1,7 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : mock_with rr
+# --
+Spec::Runner.configure do |config|
+ config.mock_with :rr
+end
View
5 rspec-snippets/on
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : once
+# --
+once
View
5 rspec-snippets/resh
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : Require spec_helper
+# --
+require File.dirname(__FILE__) + '/../spec_helper'
View
10 rspec-snippets/sce
@@ -0,0 +1,10 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : Scenario
+# --
+Scenario '${1:title}' do
+ Given '${2:given}'
+ When '${3:when}'
+ Then '${4:then}'
+end
+$0
View
6 rspec-snippets/sh=
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should ==
+# --
+${1:target}.should == ${2:value}
+$0
View
6 rspec-snippets/shb
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should be
+# --
+${1:target}.should be(${2:result})
+$0
View
6 rspec-snippets/shbc
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should be_close
+# --
+${1:target}.should be_close(${2:result}, ${3:tolerance})
+$0
View
6 rspec-snippets/shbio
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should be_instance_of
+# --
+${1:target}.should be_instance_of(${2:klass})
+$0
View
6 rspec-snippets/shbko
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should be_kind_of
+# --
+${1:target}.should be_a_kind_of(${2:klass})
+$0
View
6 rspec-snippets/shbr
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should be_redirect
+# --
+response.should be_redirect
+$0
View
6 rspec-snippets/shbs
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should be_success
+# --
+response.should be_success
+$0
View
6 rspec-snippets/she.eql
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should eql
+# --
+${1:target}.should eql(${2:value})
+$0
View
6 rspec-snippets/she.equal
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should equal
+# --
+${1:target}.should equal(${2:value})
+$0
View
6 rspec-snippets/shh
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should have
+# --
+${1:target}.should have(${2:num}).${3:things}
+$0
View
6 rspec-snippets/shhal
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should have_at_least
+# --
+${1:target}.should have_at_least(${2:num}).${3:things}
+$0
View
6 rspec-snippets/shham
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should have_at_most
+# --
+${1:target}.should have_at_most(${2:num}).${3:things}
+$0
View
6 rspec-snippets/shhr
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should have_records
+# --
+${1:target}.should have(${2:x}).records
+$0
View
6 rspec-snippets/shm.match
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should match
+# --
+${1:target}.should match(/${2:regex}/)
+$0
View
6 rspec-snippets/shm.~
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil buffer-read-only: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should =~
+# --
+${1:target}.should =~ ${2:value}
+$0
View
6 rspec-snippets/shn=
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not ==
+# --
+${1:target}.should_not == ${2:value}
+$0
View
6 rspec-snippets/shnb
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not be
+# --
+${1:target}.should_not be(${2:result})
+$0
View
6 rspec-snippets/shnbc
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not be_close
+# --
+${1:target}.should_not be_close(${2:result}, ${3:tolerance})
+$0
View
6 rspec-snippets/shnbio
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not be_instance_of
+# --
+${1:target}.should_not be_instance_of(${2:klass})
+$0
View
6 rspec-snippets/shnbko
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not be_kind_of
+# --
+${1:target}.should_not be_a_kind_of(${2:klass})
+$0
View
6 rspec-snippets/shnbr
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not be_redirect
+# --
+response.should_not be_redirect
+$0
View
6 rspec-snippets/shnbs
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not be_success
+# --
+response.should_not be_success
+$0
View
6 rspec-snippets/shne.eql
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not eql
+# --
+${1:target}.should_not eql(${2:value})
+$0
View
6 rspec-snippets/shne.equal
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not equal
+# --
+${1:target}.should_not equal(${2:value})
+$0
View
6 rspec-snippets/shnm.match
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil buffer-read-only: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not match
+# --
+${1:target}.should_not match(/${2:regex}/)
+$0
View
6 rspec-snippets/shnm.~
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil buffer-read-only: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not =~
+# --
+${1:target}.should_not =~ /${2:regex}/
+$0
View
5 rspec-snippets/shnp
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not predicate
+# --
+${1:target}.should_not ${2:be_}${3:predicate} $0
View
5 rspec-snippets/shnr
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not_receive
+# --
+${1:mock}.should_not_receive(:${2:message})$0
View
6 rspec-snippets/shnre
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not raise_error
+# --
+lambda { ${1: } }.should_not raise_error(${2:error})
+$0
View
6 rspec-snippets/shnrt
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not respond_to
+# --
+${1:target}.should_not respond_to(:${2:sym})
+$0
View
6 rspec-snippets/shns
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not satisfy
+# --
+${1:target}.should_not satisfy { |obj| ${2: } }
+$0
View
6 rspec-snippets/shnt
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_not throw
+# --
+lambda { ${1: } }.should_not throw_symbol(:${2:symbol})
+$0
View
5 rspec-snippets/shp
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should predicate
+# --
+${1:target}.should ${2:be_}${3:predicate} $0
View
5 rspec-snippets/shr
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should_receive
+# --
+${1:mock}.should_receive(:${2:message})$0
View
6 rspec-snippets/shre
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should raise_error
+# --
+lambda { ${1: } }.should raise_error(${2:error})
+$0
View
6 rspec-snippets/shrt.redirect
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should redirect_to
+# --
+response.should redirect_to(${1:url})
+$0
View
6 rspec-snippets/shrt.render
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should render_template
+# --
+response.should render_template(:${1:template})
+$0
View
6 rspec-snippets/shrt.respond
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should respond_to
+# --
+${1:target}.should respond_to(:${2:sym})
+$0
View
6 rspec-snippets/shs
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should satisfy
+# --
+${1:target}.should satisfy { |obj| ${2: } }
+$0
View
6 rspec-snippets/sht
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : should throw
+# --
+lambda { ${1: } }.should throw_symbol(:${2:symbol})
+$0
View
10 rspec-snippets/sto
@@ -0,0 +1,10 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : Story
+# --
+Story '${1:title}', %{
+ As a ${2:role}
+ I want ${3:feature}
+ So that ${4:value}
+} do
+end
View
5 rspec-snippets/tw
@@ -0,0 +1,5 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : twice
+# --
+twice
View
6 rspec-snippets/wia
@@ -0,0 +1,6 @@
+#-*- require-final-newline: nil -*-
+#contributor: gary <ge.iams@gmail.com>
+#name : with args
+# --
+with(${1:args})
+$0
Please sign in to comment.
Something went wrong with that request. Please try again.