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
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jun 24 14:22:41 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
|
||||||
|
|
||||||
|
* lib/yaml/types.rb: replaced Kernel::Hash reference with Object::Hash
|
||||||
|
from [ruby-talk:74270]
|
||||||
|
|
||||||
Tue Jun 24 17:59:30 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Tue Jun 24 17:59:30 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* eval.c (rb_yield_0): show yielded block position not only yielding
|
* eval.c (rb_yield_0): show yielded block position not only yielding
|
||||||
|
|
|
@ -46,7 +46,7 @@ module YAML
|
||||||
#
|
#
|
||||||
# YAML Hash class to support comments and defaults
|
# YAML Hash class to support comments and defaults
|
||||||
#
|
#
|
||||||
class SpecialHash < Kernel::Hash
|
class SpecialHash < Object::Hash
|
||||||
attr_accessor :default
|
attr_accessor :default
|
||||||
def inspect
|
def inspect
|
||||||
self.default.to_s
|
self.default.to_s
|
||||||
|
|
Loading…
Reference in a new issue