Exception: Psych::AliasesNotEnabled

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

Overview

Subclasses ‘BadAlias` for backwards compatibility

Instance Method Summary collapse

Constructor Details

#initializeAliasesNotEnabled

Returns a new instance of AliasesNotEnabled.



11
12
13
# File '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