Exception: Psych::AnchorNotDefined

Inherits:
BadAlias show all
Defined in:
lib/psych/exception.rb

Overview

Subclasses ‘BadAlias` for backwards compatibility

Instance Method Summary collapse

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