Exception: Ace::Hitl::Organisms::HitlManager::AmbiguousReferenceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ace/hitl/organisms/hitl_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ref, matches) ⇒ AmbiguousReferenceError

Returns a new instance of AmbiguousReferenceError.



23
24
25
26
27
# File 'lib/ace/hitl/organisms/hitl_manager.rb', line 23

def initialize(ref, matches)
  @ref = ref
  @matches = matches
  super("Ambiguous HITL reference '#{ref}'")
end

Instance Attribute Details

#matches ⇒ Object (readonly)

Returns the value of attribute matches.



21
22
23
# File 'lib/ace/hitl/organisms/hitl_manager.rb', line 21

def matches
  @matches
end

#ref ⇒ Object (readonly)

Returns the value of attribute ref.



21
22
23
# File 'lib/ace/hitl/organisms/hitl_manager.rb', line 21

def ref
  @ref
end