Exception: Psych::AnchorNotDefined
- Defined in:
- lib/psych/exception.rb
Overview
Subclasses ‘BadAlias` for backwards compatibility
Instance Method Summary collapse
-
#initialize(anchor_name) ⇒ AnchorNotDefined
constructor
A new instance of AnchorNotDefined.
Constructor Details
#initialize(anchor_name) ⇒ AnchorNotDefined
Returns a new instance of AnchorNotDefined.
18 19 20 |
# File 'lib/psych/exception.rb', line 18 def initialize anchor_name super "An alias referenced an unknown anchor: #{anchor_name}" end |