Class: Eastrails::Generator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Eastrails::Generator
- Includes:
- Thor::Actions
- Defined in:
- lib/eastrails/generator.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Generator
constructor
A new instance of Generator.
Constructor Details
#initialize ⇒ Generator
Returns a new instance of Generator.
6 7 8 9 10 11 |
# File 'lib/eastrails/generator.rb', line 6 def initialize self. = {} self.behavior = :invoke self.destination_root = File.(".") self.class.source_root File.("../../resources", __FILE__) end |