mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/yaml/types.rb: replaced Kernel::Hash reference with Object::Hash
from [ruby-talk:74270] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f80d051a6
commit
b60ba59429
2 changed files with 6 additions and 1 deletions
|
@ -46,7 +46,7 @@ module YAML
|
|||
#
|
||||
# YAML Hash class to support comments and defaults
|
||||
#
|
||||
class SpecialHash < Kernel::Hash
|
||||
class SpecialHash < Object::Hash
|
||||
attr_accessor :default
|
||||
def inspect
|
||||
self.default.to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue