unknown wrote:


> 
> This is because symbols don't respond to intern.  Is there any good
> reason Symbol doesn't respond to intern, while String responds to
> to_s, Array responds, to to_a, etc.?  If not, I would like to propose
> that the intern method be added to Symbol at some point.

irb(main):001:0> class Symbol; alias_method :intern, :to_sym; end
=> Symbol
irb(main):002:0> :symbol.intern
=> :symbol

-- 
Posted via http://www.ruby-forum.com/.