On Sat, Mar 9, 2013 at 3:07 PM, Kumar R. <[email protected]> wrote:
> I was trying to learn the operator over-ridding in Ruby. So i used the
> below in my IRB.
>
>>> class Banner < String

Inheriting from String is a bad idea.  Really.

Cheers

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- 
[email protected] | 
https://groups.google.com/d/forum/ruby-talk-google?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"ruby-talk-google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to