stdlib/yaml/0/yaml.rbs in rbs-3.0.0.dev.2 vs stdlib/yaml/0/yaml.rbs in rbs-3.0.0.dev.3
- old
+ new
@@ -180,11 +180,11 @@
# Psych.safe_load yaml, aliases: true # => loads the aliases
#
# A Psych::DisallowedClass exception will be raised if the yaml contains a class
# that isn't in the `permitted_classes` list.
#
- # A Psych::BadAlias exception will be raised if the yaml contains aliases but
- # the `aliases` keyword argument is set to false.
+ # A Psych::AliasesNotEnabled exception will be raised if the yaml contains
+ # aliases but the `aliases` keyword argument is set to false.
#
# `filename` will be used in the exception message if any exception is raised
# while parsing.
#
# When the optional `symbolize_names` keyword argument is set to a true value,