[]=(name, property) self << property end def <<(property) found = named?(property.name) add_property(property) if found superclass_slice(index(property), property) else super end end end WUT? Ugh Oh, let’s change the meaning!
Work around GCC's broken strict aliasing checks. gcc 4.2.1 on freebsd 9 wants a newline at the end Make the gcc gods happy Make the stupid compiler gods happy Appease GCC 4.3
def my_method arg yield arg end my_method(MyClass.new) do |*arg| p arg end we're here [#<MyClass:0xX>] we're here [1] we're here [[1]] [#<MyClass:0xX>] A B C D Call to_ary and ignore