Module: Jenerator::Actions
- Included in:
- Generators::Component
- Defined in:
- lib/jenerator/generators/actions.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 |
# File 'lib/jenerator/generators/actions.rb', line 3 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#destination_root(*paths) ⇒ Object
7 8 9 |
# File 'lib/jenerator/generators/actions.rb', line 7 def destination_root(*paths) File.(File.join(@destination_stack.last, paths)) end |