Exception: VirtualMethodCalledError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- VirtualMethodCalledError
- Defined in:
- lib/rxsd/exceptions.rb
Overview
add virtual method support
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ VirtualMethodCalledError
constructor
A new instance of VirtualMethodCalledError.
Constructor Details
#initialize(name) ⇒ VirtualMethodCalledError
Returns a new instance of VirtualMethodCalledError.
11 12 13 14 |
# File 'lib/rxsd/exceptions.rb', line 11 def initialize(name) super("Virtual function '#{name}' called") @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/rxsd/exceptions.rb', line 10 def name @name end |