Class: StrategyGenerator

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

Constant Summary collapse

LOCATION =

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

"strategies"
TYPE =
"strategy"
BASE_CLASSES =
2

Instance Method Summary collapse

Instance Method Details

#mainObject



20
21
22
# File 'lib/easy_gen/strategy/strategy_generator.rb', line 20

def main
  copy_templates
end