Method: Psych::AnchorNotDefined#initialize
- Defined in:
- lib/psych/exception.rb
#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 |