Class: Rounders::Generators::HandlerGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/rounders/generators/handler/handler_generator.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Methods included from Plugins::Pluggable

included

Instance Method Details

#create_handlerObject



11
12
13
# File 'lib/rounders/generators/handler/handler_generator.rb', line 11

def create_handler
  template '%underscored_name%_handler.rb.tt'
end

#set_destination_rootObject



7
8
9
# File 'lib/rounders/generators/handler/handler_generator.rb', line 7

def set_destination_root
  self.destination_root = feature_path
end