bin/spinebox in spinebox-0.0.6 vs bin/spinebox in spinebox-0.0.7

- old
+ new

@@ -64,11 +64,11 @@ view = Spinebox::Generator::View.new(ARGV.first) puts "Successfully created view '#{view.name}'".green exit(0) end - # View Generator - on "scaffold MODEL [attributes]", "Scaffold a model, view and a controller", :if => proc { ['scaffold', 's'].include?(ARGV.first)}, :type => :scaffold do + # Scaffold Generator + on "scaffold MODEL [attributes]", "Scaffold a model, view and a controller", :if => proc { ['scaffold'].include?(ARGV.first)}, :type => :scaffold do ARGV.shift name = ARGV.shift model = Spinebox::Generator::Model.new(name, ARGV) view = Spinebox::Generator::View.new(name) controller = Spinebox::Generator::Controller.new(name) \ No newline at end of file