07 Mar '12, 8am

Metaprogramming in Ruby: It’s All About the Self

@wycats Right. That is why they are unnecessary and only confuse developers. I didn’t see this until I happened to discover Io. After learning Io I was using Ruby and had to (once again) consult Pickaxe so I could remember the details of Ruby’s complicated inheritance / lookup model. Staring at the page in the context of having recently learned a simpler way, it was easy to see that classes, metaclasses, modules, class variables instance variables (and even blocks) aren’t needed. All you really need are objects that inherit from each other, slots and messages.

Full article: http://yehudakatz.com/2009/11/15/metaprogramming-in-ruby-...

Tweets

@MikeG1 can you promote rails-api on Thanks!

afreshcup.com 12 Mar '12, 4pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Top Ruby Article: With Apologies, Some Senseles...

gilesbowkett.blogspot.com 07 Mar '12, 11pm

lost an argument with me on GitHub ranted about it on his blog: Giles... bemoans bundler, because typing "bundle exec" rep...

My latest Gem 'Wicked' got mentioned in my favo...

rubyweekly.com 08 Mar '12, 2pm

Welcome to issue 84 of Ruby Weekly! As always, more great Ruby stuff and quite a few key releases, including Bundler 1.1! ...

Jay Fields Thoughts: Ruby: State pattern using ...

blog.jayfields.com 08 Mar '12, 2am

"each method is protected so they must be accessed via the delegations, and an error will occur if they are accessed direc...

#Ruby for other languages: ...the main differen...

ruby-lang.org 07 Mar '12, 2am

When you first look at some Ruby code, it will likely remind you of other programming languages you’ve used. This is on pu...

I love Ruby because

rubyflow.com 12 Mar '12, 8pm

I love Ruby because ... Posted by rtdp on March 12, 2012 — 0 comments I really love ruby language, and so do many folks us...

Ruby Brasil:

ruby-br.org 09 Mar '12, 7pm

A Brain está contratando desenvolvedores com experiência em Ruby on Rails para dois projetos diferentes no RJ. Os interess...

Class and Instance Variables In Ruby // RailsTi...

railstips.org 02 Mar '12, 10am

Update (6/13/2008): I posted a bit more on the topic with example uses in the wild . First, let me preface this article wi...

Ruby Unary Operators

rubyinside.com 29 Feb '12, 6pm

It seems dangerous to override the "!" operator, because when used in conditions (if, until, ...) the condition may not ev...

writing readable ruby

rubyflow.com 03 Mar '12, 5pm

writing readable ruby Posted by alindeman on March 03, 2012 — 0 comments Over on the Highgroove blog , Brian posts some th...

Sequel: The Database Toolkit for Ruby:

sequel.rubyforge.org 03 Mar '12, 11am

Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel...

ActiveWarehouse (Ruby ETL) v1.0.0.rc1 is out

rubyflow.com 03 Mar '12, 10pm

ActiveWarehouse (Ruby ETL) v1.0.0.rc1 is out Posted by thbar on March 03, 2012 — 0 comments If you need to extract data fr...

Ruby 1.9.3p0 released! [Programming Language] #...

ruby-lang.org 02 Mar '12, 2am

Security Fix for Ruby OpenSSL module: Allow "0/n splitting" as a prevention for the TLS BEAST attack. Denial of service at...

Ruby Summary: Ruby Study Notes - Best Ruby Guid...

rubylearning.com 26 Feb '12, 4pm

Ruby Modules are similar to classes in that they hold a collection of methods, constants, and other module and class defin...

Metaprogramming Your ActiveRecord Objects at Ru...

blog.obiefernandez.com 28 Feb '12, 7pm

I often store Ruby code in the fields of ActiveRecord object, giving me the ability to morph the system's behavior at runt...