Class: Nendo::NendoTestError
- Inherits:
-
Object
- Object
- Nendo::NendoTestError
- Defined in:
- lib/nendo/ruby/types.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type = RuntimeError) ⇒ NendoTestError
constructor
A new instance of NendoTestError.
- #to_s ⇒ Object
Constructor Details
#initialize(type = RuntimeError) ⇒ NendoTestError
Returns a new instance of NendoTestError.
222 223 224 |
# File 'lib/nendo/ruby/types.rb', line 222 def initialize( type = RuntimeError ) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
229 230 231 |
# File 'lib/nendo/ruby/types.rb', line 229 def type @type end |
Instance Method Details
#to_s ⇒ Object
226 227 228 |
# File 'lib/nendo/ruby/types.rb', line 226 def to_s type.to_s end |