Exception: RMasmError
Overview
Base exception class for all syntax errors in RMasm
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, *args) ⇒ RMasmError
constructor
A new instance of RMasmError.
Constructor Details
#initialize(code, *args) ⇒ RMasmError
Returns a new instance of RMasmError.
22 23 24 25 |
# File 'lib/rmasm/error.rb', line 22 def initialize(code, *args) @code = code @args = args end |