Skip to content

Commit

Permalink
Improved should_change snippets.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosbrando committed Sep 9, 2008
1 parent 83a4e31 commit 9c567d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Snippets/should_change copy.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>should_change "${1:Model.count}"${2:${3:, :from =&gt; ${4:old_value}}${5:, :to =&gt; ${6:new_value}}}</string>
<string>should_change "${1:${2:Model}.${3:count}}"${4:${5:, :from =&gt; ${6:old_value}}${7:, :to =&gt; ${8:new_value}}}</string>
<key>name</key>
<string>should_change from to</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/should_change.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>should_change "${1:Model.count}"${2:, :by =&gt; ${3:value}}</string>
<string>should_change "${1:${2:Model}.${3:count}}"${4:, :by =&gt; ${5:value}}</string>
<key>name</key>
<string>should_change by</string>
<key>scope</key>
Expand Down

0 comments on commit 9c567d3

Please sign in to comment.