Exception: YamlRefResolver::YamlNotFoundException
- Inherits:
-
StandardError
- Object
- StandardError
- YamlRefResolver::YamlNotFoundException
- Defined in:
- lib/yaml_ref_resolver/exceptions.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:) ⇒ YamlNotFoundException
constructor
A new instance of YamlNotFoundException.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
3 4 5 |
# File 'lib/yaml_ref_resolver/exceptions.rb', line 3 def path @path end |