Class: Proc

Inherits:
Object show all
Defined in:
lib/amp/support/support.rb

Instance Method Summary collapse

Instance Method Details

#run(options = {}, args = []) ⇒ Object

Alias for #call, pretty much.

Parameters:

  • options (Hash) (defaults to: {})

    hash of the options for the command

  • args (Array) (defaults to: [])

    array of extra args



876
877
878
# File 'lib/amp/support/support.rb', line 876

def run(options={}, args=[])
  call options, args
end