Class: DecoratorGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
EasyGenGenerator
Defined in:
lib/easy_gen/decorator/decorator_generator.rb

Constant Summary collapse

LOCATION =

bundle exec rails g service MyService bundle exec rails d service MyService

"decorators"
TYPE =
"decorator"

Instance Method Summary collapse

Methods included from EasyGenGenerator

#copy_templates

Instance Method Details

#mainObject



20
21
22
# File 'lib/easy_gen/decorator/decorator_generator.rb', line 20

def main
  copy_templates
end