Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Problem with ruby-dbi-all-0.0.20 and/or ruby-1.8.0
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Brian Candler, post: 4413108"] alias :dup :clone OK that works... thank you. I assume that for 'dup' and 'clone', one used to be implemented in terms of the other. Is there a comparison of these two methods anywhere? In the Pickaxe it says: "dup typically uses the class of the descendent object to create the new instance" But I'm not quite sure what that means. Is it saying that typically Foo#dup is implemented by calling Foo.new (or self.class.new) ? Cheers, Brian. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Problem with ruby-dbi-all-0.0.20 and/or ruby-1.8.0
Top