Class: SmashingDocumentation::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SmashingDocumentation::Generators::InstallGenerator
- Defined in:
- lib/generators/smashing_documentation/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/generators/smashing_documentation/install_generator.rb', line 7 def install if Dir.exists?('spec') update_rails_helper update_spec_helper generate_docs_template else puts "It does not appear that you have RSpec installed in your app" puts "Please set up RSpec before running this installer" end end |