Exception: Necropsy::DefinitionIndex::AmbiguousDefinitionError

Inherits:
KeyError
  • Object
show all
Defined in:
lib/necropsy/graph/definition_index.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lookup) ⇒ AmbiguousDefinitionError

Returns a new instance of AmbiguousDefinitionError.



32
33
34
35
# File 'lib/necropsy/graph/definition_index.rb', line 32

def initialize(lookup)
  @lookup = lookup
  super("#{lookup.identifier.inspect} matches #{lookup.definitions.length} physical definitions")
end

Instance Attribute Details

#lookupObject (readonly)

Returns the value of attribute lookup.



30
31
32
# File 'lib/necropsy/graph/definition_index.rb', line 30

def lookup
  @lookup
end