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

source_root, #with_modules

Constructor Details

This class inherits a constructor from Bowline::Generators::NamedGenerator

Instance Method Details

#file_nameObject



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

def file_name
  "#{name}_helper"
end

#module_nameObject



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

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

#modulesObject



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

def modules
  []
end