Exception: Adam::Killmail::ValidationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/adam/killmail/validation_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#sourceObject (readonly)

Returns the value of attribute source.



6
7
8
# File 'lib/adam/killmail/validation_error.rb', line 6

def source
  @source
end