提交 d8e84738 编写于 作者: F Francesco Rodriguez

removing 1.8 reference

上级 007c3d8b
class Object
# Returns a hash that maps instance variable names without "@" to their
# corresponding values. Keys are strings both in Ruby 1.8 and 1.9.
# corresponding values. Keys are strings.
#
# class C
# def initialize(x, y)
......@@ -13,8 +13,7 @@ def instance_values #:nodoc:
Hash[instance_variables.map { |name| [name[1..-1], instance_variable_get(name)] }]
end
# Returns an array of instance variable names including "@". They are strings
# both in Ruby 1.8 and 1.9.
# Returns an array of instance variable names including "@". They are strings.
#
# class C
# def initialize(x, y)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册