Class: Merb::Generators::CucumberFeatureGenerator
- Inherits:
-
NamedGenerator
- Object
- NamedGenerator
- Merb::Generators::CucumberFeatureGenerator
- Defined in:
- lib/generators/feature.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
8 9 10 |
# File 'lib/generators/feature.rb', line 8 def self.source_root File.join(File.dirname(__FILE__), 'feature', 'templates') end |
Instance Method Details
#underscored_file_name(name) ⇒ Object
12 13 14 |
# File 'lib/generators/feature.rb', line 12 def underscored_file_name(name) name.gsub(/\s+/, "_") end |