Class: Rounders::Generators::ReceiverGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/rounders/generators/receiver/receiver_generator.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Methods included from Plugins::Pluggable

included

Instance Method Details

#create_receiverObject



10
11
12
# File 'lib/rounders/generators/receiver/receiver_generator.rb', line 10

def create_receiver
  template '%underscored_name%_receiver.rb.tt'
end

#set_destination_rootObject



6
7
8
# File 'lib/rounders/generators/receiver/receiver_generator.rb', line 6

def set_destination_root
  self.destination_root = feature_path
end