1. Tech

Articles related to ruby strings

Cryptographic Hashes in Ruby - About.com
The method to quickly make hex strings of the hashes of Ruby strings is the hexdigest string. Since it's a class method, you don't need to instantiate any objects ...
Base64 in Ruby - About.com
Ruby provides a few handy functions to encode and decode Base64. ... Remember that though it's called a String, Ruby strings can hold any string of bytes. Ads.
Reading Files - Ruby - About.com
Ruby programs rarely exist in their own little world. And while many ... There are a few methods you may want to use to read strings from files. Note that these are  ...
Lookahead and Back-references - Ruby - About.com
Ruby's regular expression language allows you to match previous groupings and look ahead ... usr/bin/env ruby strings = [ "foo:bar", "foo:baritone", "foo:barbell" ] ...
Using the Enumerable Module - Ruby - About.com
You can iterate over many different types of objects in Ruby using the same set of ... Since most classes that come with Ruby (strings and numbers, for example) ...
Hash Tips and Tricks - Ruby - About.com
A Struct in Ruby is supposed to be a faster, more restricted data structure. Much like ... Format strings are not often used in Ruby, and may be unfamiliar to many ...
The Case Statement in Ruby - About.com
If we were to input Bob, Ruby would first evaluate "Alice" === "Bob", which would be false since String#=== is defined as the comparison of the strings. Next ...
Overloading Operators - Ruby - About.com
If you have two objects a and b, what does a + b equal? What does it even mean to add two arbitrary objects together? For Ruby's base types (numbers, strings, ...
CSV Example - How to Parse CSV in Ruby - About.com
A method for parsing CSV files using only Ruby's built-in string methods is presented and discussed. ... Beginning Ruby · Strings · Practical Examples ...
Calculating Abbreviations - Ruby - About.com
Ruby provides a way to generate them automatically as part of its standard ... This means for some sets of strings it won't produce any abbreviations at all, but it's ...
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2015 About.com. All rights reserved.