Exception: Adam::Killmail::ValidationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Adam::Killmail::ValidationError
- Defined in:
- lib/adam/killmail/validation_error.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source = false) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(source = false) ⇒ ValidationError
Returns a new instance of ValidationError.
8 9 10 |
# File 'lib/adam/killmail/validation_error.rb', line 8 def initialize(source = false) @source = source end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
6 7 8 |
# File 'lib/adam/killmail/validation_error.rb', line 6 def source @source end |