templates/attributes/project_name.rb in linecook-0.6.2 vs templates/attributes/project_name.rb in linecook-1.0.0
- old
+ new
@@ -1,4 +1,4 @@
-# Define default recipe attributes here and include in a recipe using
-# 'attributes "filename"'. Script attributes override these values.
-attrs['<%= project_name %>']['letters'] = ['a', 'b', 'c']
-attrs['<%= project_name %>']['numbers'] = [1, 2, 3]
\ No newline at end of file
+# Define default recipe attributes here.
+# (note string keys are usually better than symbols)
+attrs['<%= project_name %>']['year'] = Time.now.year
+attrs['<%= project_name %>']['resolutions'] = []