Class: Orangutan::Raiser

Inherits:
Object show all
Defined in:
lib/orangutan/raiser.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Raiser

Returns a new instance of Raiser.



2
3
4
# File 'lib/orangutan/raiser.rb', line 2

def initialize args
  @args = args
end

Instance Method Details

#executeObject

Raises:

  • (@args)


6
7
8
# File 'lib/orangutan/raiser.rb', line 6

def execute
  raise *@args
end