lib/napa/generators/api_generator.rb in napa-0.2.1 vs lib/napa/generators/api_generator.rb in napa-0.3.0

- old
+ new

@@ -13,13 +13,17 @@ def name_tableize name.tableize end + def output_directory + '.' + end + def api self.class.source_root "#{File.dirname(__FILE__)}/templates/api" say 'Generating api...' - directory '.', '.' + directory '.', output_directory say 'Done!', :green end end end end