Module: RakeFactory::Actions

Included in:
Task
Defined in:
lib/rake_factory/actions.rb

Instance Method Summary collapse

Instance Method Details

#action(&action_block) ⇒ Object



7
8
9
# File 'lib/rake_factory/actions.rb', line 7

def action(&action_block)
  actions << action_block
end

#actionsObject



3
4
5
# File 'lib/rake_factory/actions.rb', line 3

def actions
  @actions ||= []
end