mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-02 09:31:37 +08:00
9 lines
163 B
Ruby
9 lines
163 B
Ruby
test_begin "test_struct"
|
|
|
|
# assert_equal 'Struct::Foo', proc{
|
|
# Struct.instance_eval { const_set(:Foo, nil) }
|
|
# Struct.new("Foo")
|
|
# Struct::Foo
|
|
# }
|
|
|
|
test_end |