Module: HashPath::NilPath

Included in:
NilClass
Defined in:
lib/hash_path.rb

Instance Method Summary collapse

Instance Method Details

#at_path(path) ⇒ Object



6
7
8
# File 'lib/hash_path.rb', line 6

def at_path(path)
  nil
end

#at_path!(path) ⇒ Object

Raises:



10
11
12
# File 'lib/hash_path.rb', line 10

def at_path!(path)
  raise PathNotFound, path
end

#flatten_key_pathsObject



14
15
16
# File 'lib/hash_path.rb', line 14

def flatten_key_paths(*)
  {}
end