lib/bently/recipe/gitignore-sublime-text.rb in bently-1.0.0 vs lib/bently/recipe/gitignore-sublime-text.rb in bently-1.0.1
- old
+ new
@@ -3,17 +3,10 @@
class GitignoreSublimeText < Recipe
homepage 'https://github.com/github/gitignore/blob/master/Global/SublimeText.gitignore'
def initialize
- append '.gitignore', gitignore
- end
-
- protected
-
- def gitignore
-%{# SublimeText project files
-*.sublime-workspace}
+ append '.gitignore', template('.gitignore')
end
end
end