This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Getting my claws into Sydney
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
Sydney, as in the fork of Ruby that Evan Webb has been working on. I have already used my insidious mind control powers to get Evan to build with -Wall (it now compiles cleanly, btw).
I have also had my first feature request accepted. The various attr_* methods now DWIM with regards to "?" and "!" methods, e.g.
class Foo
attr_accessor :bar?, :baz!
end
p Foo.instance_methods(false)
Currently, this creates the (syntactically illegal) methods "bar?=" and "baz!=", in addition to the "bar?" and "baz!" methods. With Evan's patch, it does what I want, and creates "bar?", "bar=", "baz!" and "baz=". I think I'll submit Evan's patch to ruby-core, and see about getting "?" and "!" back into the Struct class as well.
Now, if I could just get Evan to use ANSI C. Time to use the mind control powers again...