Class: Bowline::Generators::HelperGenerator

Inherits:
NamedGenerator show all
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

- (Object) file_name



15
16
17
# File 'lib/bowline/generators/helper.rb', line 15

def file_name
  "#{name}_helper"
end

- (Object) module_name



11
12
13
# File 'lib/bowline/generators/helper.rb', line 11

def module_name
  "#{self.name.camel_case}Helper"
end

- (Object) modules



7
8
9
# File 'lib/bowline/generators/helper.rb', line 7

def modules
  []
end