removing 1.8 reference
This commit is contained in:
parent
007c3d8bcb
commit
d8e84738ea
@ -1,6 +1,6 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user