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



878
879
880
# File 'lib/amp/support/support.rb', line 878

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