Class: JayZ::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JayZ::Generators::InstallGenerator
- Defined in:
- lib/generators/jay_z/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#blueprints_file ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/jay_z/install/install_generator.rb', line 8 def blueprints_file if rspec? copy_file "blueprint.rb", "spec/blueprint.rb" else copy_file "blueprint.rb", "test/blueprint.rb" end end |