class Rounders::Generators::AppGenerator
Public Instance Methods
create_directory()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 12 def create_directory directory('app') directory('config') end
gemfile()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 25 def gemfile template 'Gemfile' end
gitignore()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 33 def gitignore template 'gitignore', '.gitignore' end
license()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 29 def license template 'MIT-LICENSE' end
rakefile()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 41 def rakefile template 'Rakefile' end
readme()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 21 def readme template 'README.md' end
set_destination_root()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 7 def set_destination_root p = path.nil? ? name : File.join(path, name) self.destination_root = p end
test()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 17 def test directory('spec') end
travis()
click to toggle source
# File lib/rounders/generators/app/app_generator.rb, line 37 def travis template 'travis.yml', '.travis.yml' end