Class: Avm::Entries::Entry::NoContextEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/entries/entry/no_context_entry.rb

Instance Method Summary collapse

Instance Method Details

#found?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/avm/entries/entry/no_context_entry.rb', line 9

def found?
  false
end

#valueObject



13
14
15
# File 'lib/avm/entries/entry/no_context_entry.rb', line 13

def value
  nil
end

#value!Object



17
18
19
# File 'lib/avm/entries/entry/no_context_entry.rb', line 17

def value!
  raise('No context entry - there is no value')
end