lib/scaffoldhub/helper.rb in scaffoldhub-0.0.7 vs lib/scaffoldhub/helper.rb in scaffoldhub-0.0.8

- old
+ new

@@ -57,9 +57,13 @@ def scaffold_parameter parse_scaffold_option(1) end + def replace_name_tokens(dest) + dest.gsub(/PLURAL_NAME/, file_name.pluralize).gsub(/NAME/, file_name) + end + def status_proc @status_proc ||= lambda { |url| say_status :download, url } end private