lib/picky/generator.rb in picky-0.0.9 vs lib/picky/generator.rb in picky-0.1.0

- old
+ new

@@ -1,9 +1,13 @@ require 'fileutils' module Picky + # Thrown when no generator for the command + # picky <command> <options> + # is found. + # class NoGeneratorException < Exception; end # This is a very simple project generator. # Not at all like Padrino's or Rails'. # (No diss, just by way of a faster explanation) @@ -41,9 +45,14 @@ # def generator_for_class klass, *args klass.new *args end + # Generates a new Picky project. + # + # Example: + # > picky project my_lovely_project + # class Project attr_reader :name, :prototype_project_basedir def initialize name, *args \ No newline at end of file