Exception: BetterHtml::TestHelper::SafetyError
- Inherits:
-
InterpolatorError
- Object
- RuntimeError
- InterpolatorError
- BetterHtml::TestHelper::SafetyError
- Defined in:
- lib/better_html/test_helper/safety_error.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(message, location:) ⇒ SafetyError
constructor
A new instance of SafetyError.
Constructor Details
#initialize(message, location:) ⇒ SafetyError
Returns a new instance of SafetyError.
8 9 10 11 |
# File 'lib/better_html/test_helper/safety_error.rb', line 8 def initialize(, location:) @location = location super() end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
6 7 8 |
# File 'lib/better_html/test_helper/safety_error.rb', line 6 def location @location end |