Exception: Psych::AliasesNotEnabled
- Defined in:
- lib/psych/exception.rb
Overview
Subclasses ‘BadAlias` for backwards compatibility
Instance Method Summary collapse
-
#initialize ⇒ AliasesNotEnabled
constructor
A new instance of AliasesNotEnabled.
Constructor Details
#initialize ⇒ AliasesNotEnabled
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 |