Class: Slickr::Generators::Reactor

Inherits:
Base
  • Object
show all
Defined in:
lib/slickr/generators/reactor.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/reactor.rb', line 4

def start
  template "reactor.erb", "lib/reactors/#{name}.rb"
end