Class: Pu::Core::RubyGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Pu::Core::RubyGenerator
- Includes:
- PlutoniumGenerators::Generator
- Defined in:
- lib/generators/pu/core/ruby/ruby_generator.rb
Instance Method Summary collapse
Methods included from PlutoniumGenerators::Generator
Methods included from PlutoniumGenerators::Concerns::Logger
#debug, #error, #exception, #info, #success, #warn
Methods included from PlutoniumGenerators::Concerns::Config
Instance Method Details
#start ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/generators/pu/core/ruby/ruby_generator.rb', line 15 def start set_ruby_version! version say "Ruby version set to #{version}" say "Run `bundle install` to update your dependencies" rescue => e exception "#{self.class} failed:", e end |