The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Getting my claws into Sydney

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Daniel Berger

Posts: 1383
Nickname: djberg96
Registered: Sep, 2004

Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
Getting my claws into Sydney Posted: Jul 13, 2005 9:20 AM
Reply to this message Reply

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.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...

Advertisement
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...

Read: Getting my claws into Sydney

Topic: Odeo Opens the Doors Previous Topic   Next Topic Topic: Are you running the final version of Ruby 1.8.2?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use