Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Create Ruby Objects That Describe Themselves

Tags: print

When you Print a string or array you see its contents. Example: puts [1,2,3] 1 2 3 But when you print your own objects… You see this: #’…0x29458e0>



This post first appeared on Black Bytes, please read the originial post: here

Share the post

How to Create Ruby Objects That Describe Themselves

×

Subscribe to Black Bytes

Get updates delivered right to your inbox!

Thank you for your subscription

×