Method: Babar::Action#initialize

Defined in:
lib/babar/action.rb

#initialize(target, action, opts = {}) ⇒ Action

Returns a new instance of Action.



3
4
5
6
7
# File 'lib/babar/action.rb', line 3

def initialize target, action, opts={}
  @target = /#{target}/
  @action = action
  @auto   = opts[:auto]
end