зеркало из https://github.com/github/ruby.git
11 строки
173 B
Ruby
11 строки
173 B
Ruby
|
a = ''
|
||
|
a.instance_eval do
|
||
|
@a = :a
|
||
|
@b = :b
|
||
|
@c = :c
|
||
|
end
|
||
|
100000.times do
|
||
|
a = Marshal.load(Marshal.dump(a))
|
||
|
end
|
||
|
#p(a.instance_eval { @a == :a && @b == :b && @c == :c })
|