Class: Rounders::Generators::MatcherGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/rounders/generators/matcher/matcher_generator.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Methods included from Plugins::Pluggable

included

Instance Method Details

#create_matcherObject



10
11
12
# File 'lib/rounders/generators/matcher/matcher_generator.rb', line 10

def create_matcher
  template '%underscored_name%_matcher.rb.tt'
end

#set_destination_rootObject



6
7
8
# File 'lib/rounders/generators/matcher/matcher_generator.rb', line 6

def set_destination_root
  self.destination_root = feature_path
end