mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

trusted. * struct.c (rb_struct_modify), time.c (time_modify): check by the above function to show proper class names. [Bug #5036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
8 lines
98 B
Ruby
Executable file
8 lines
98 B
Ruby
Executable file
#! /usr/bin/ruby
|
|
tc = Class.new(Time)
|
|
tc.inspect
|
|
t = tc.now
|
|
proc do
|
|
$SAFE=4
|
|
t.gmtime
|
|
end.call
|