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

How to Use Ruby Conversion Methods

If you would like to use string methods (like gsub) but you’re working with an integer… What can you do? Use a conversion method! For example: You can convert the Integer 1 to the String “1”. Then you can use methods from the converted class, which helps you do something that wasn’t possible before. In […]

The post How to Use Ruby Conversion Methods appeared first on RubyGuides. Don't miss your free gift here :)



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

Share the post

How to Use Ruby Conversion Methods

×

Subscribe to Black Bytes

Get updates delivered right to your inbox!

Thank you for your subscription

×