Software Development
Pages
Home
About
Contact
Wednesday, June 13, 2007
How to convert a name of a class to Class in Ruby
"Foo".constantize will return Foo. Now you can call any methods on Foo.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment