Exception: YamlRefResolver::YamlNotFoundException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yaml_ref_resolver/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path:) ⇒ YamlNotFoundException

Returns a new instance of YamlNotFoundException.



5
6
7
8
9
# File 'lib/yaml_ref_resolver/exceptions.rb', line 5

def initialize(path:)
  @path = path

  super("yaml file not found: #{path}")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



3
4
5
# File 'lib/yaml_ref_resolver/exceptions.rb', line 3

def path
  @path
end