class Psych::AliasesNotEnabled

Subclasses ‘BadAlias` for backwards compatibility

Public Class Methods

new() click to toggle source
Calls superclass method Exception::new
# File ext/psych/lib/psych/exception.rb, line 11
def initialize
  super "Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`."
end