Class: Merb::Generators::CucumberGenerator
- Inherits:
-
Generator
- Object
- Generator
- Merb::Generators::CucumberGenerator
- Defined in:
- lib/generators/cucumber.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
9 10 11 |
# File 'lib/generators/cucumber.rb', line 9 def self.source_root File.join(File.dirname(__FILE__), 'cucumber', 'templates') end |
Instance Method Details
#chmod(action) ⇒ Object
30 31 32 |
# File 'lib/generators/cucumber.rb', line 30 def chmod(action) File.chmod(0755, action.destination) end |