Class: Bowline::Generators::ModelGenerator

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

Instance Method Summary collapse

Methods inherited from NamedGenerator

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

#class_nameObject



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

def class_name
  super + " < SuperModel::Base"
end

#modulesObject



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

def modules
  []
end