Class: Bowline::Generators::HelperGenerator
- Inherits:
-
NamedGenerator
- Object
- Templater::Generator
- Generator
- NamedGenerator
- Bowline::Generators::HelperGenerator
- Defined in:
- lib/bowline/generators/helper.rb
Instance Method Summary collapse
Methods inherited from NamedGenerator
#class_name, #initialize, #symbol_name
Methods inherited from Generator
chmod, #shebang, source_root, touch, #with_modules
Constructor Details
This class inherits a constructor from Bowline::Generators::NamedGenerator
Instance Method Details
#file_name ⇒ Object
15 16 17 |
# File 'lib/bowline/generators/helper.rb', line 15 def file_name "#{name}_helper" end |
#module_name ⇒ Object
11 12 13 |
# File 'lib/bowline/generators/helper.rb', line 11 def module_name "#{self.name.camel_case}Helper" end |
#modules ⇒ Object
7 8 9 |
# File 'lib/bowline/generators/helper.rb', line 7 def modules [] end |