Class: RailVerdict::StrictYaml::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/rail_verdict/strict_yaml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, property_path: nil) ⇒ Error

Returns a new instance of Error.



10
11
12
13
# File 'lib/rail_verdict/strict_yaml.rb', line 10

def initialize(message, property_path: nil)
  super(message)
  @property_path = property_path
end

Instance Attribute Details

#property_pathObject (readonly)

Returns the value of attribute property_path.



8
9
10
# File 'lib/rail_verdict/strict_yaml.rb', line 8

def property_path
  @property_path
end