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.



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

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

Instance Attribute Details

#matchesObject (readonly)

Returns the value of attribute matches.



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

def matches
  @matches
end

#refObject (readonly)

Returns the value of attribute ref.



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

def ref
  @ref
end