Exception: Object::CatchThrow
Instance Attribute Summary collapse
-
#arg ⇒ Object
readonly
Returns the value of attribute arg.
-
#sym ⇒ Object
readonly
Returns the value of attribute sym.
Instance Method Summary collapse
-
#initialize(args) ⇒ CatchThrow
constructor
A new instance of CatchThrow.
Constructor Details
#initialize(args) ⇒ CatchThrow
Returns a new instance of CatchThrow.
153 154 155 156 |
# File 'lib/opal/aasm.rb', line 153 def initialize(args) @sym = args[0] @arg = args[1] if args.count > 1 end |