Ruby on Rails Discussions
Kind of object
rubyonrails-talk
Andy_Jeffries
(Andy Jeffries)
July 9, 2010, 3:00pm
1
$ irb
class MyHash < Hash ; end
=> nil
h = MyHash.new
=> {}
h.is_a? Hash
=> true
Cheers,
Andy
Related topics
Topic
Replies
Views
Activity
Kind of object
rubyonrails-talk
1
152
July 9, 2010
OpenHash class I thought I would share...
rubyonrails-talk
0
151
November 28, 2007
pretty neat Mash class (Magic Hash)
rubyonrails-talk
0
124
December 21, 2007
OT: Re: [Rails] OpenHash class I thought I would share...
rubyonrails-talk
0
111
November 28, 2007
to_hash
rubyonrails-talk
0
99
December 28, 2009