Class: Slickr::Generators::Behavior
- Defined in:
- lib/slickr/generators/behavior.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#copy_file, #empty_directory, #initialize, #template
Constructor Details
This class inherits a constructor from Slickr::Generators::Base
Instance Method Details
#start ⇒ Object
4 5 6 |
# File 'lib/slickr/generators/behavior.rb', line 4 def start template "behavior.erb", "lib/behaviors/#{name}.rb" end |