Class: Slickr::Generators::Behavior

Inherits:
Base
  • Object
show all
Defined in:
lib/slickr/generators/behavior.rb

Instance Attribute Summary

Attributes inherited from Base

#destination, #name

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

#startObject



4
5
6
# File 'lib/slickr/generators/behavior.rb', line 4

def start
  template "behavior.erb", "lib/behaviors/#{name}.rb"
end