Class: Bowline::Generators::BinderGenerator

Inherits:
NamedGenerator show all
Defined in:
lib/bowline/generators/binder.rb

Instance Method Summary collapse

Methods inherited from NamedGenerator

#file_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

#class_nameObject



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

def class_name
  super + " < Bowline::Binders::#{type.to_s.camel_case}"
end

#modulesObject



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

def modules
  ['Binders']
end