This is a collection of Ruby code snippets, including the results obtained from running them in irb. It can also be used as a cheat sheet.
ARTICLES
-
ARRAY
-
B2B
-
CSV
-
DATE
-
DIGEST
-
ENCRYPTION
-
ERB
-
FILE
-
HASH
-
HEREDOC
-
HTTP
-
IO
-
IP
-
JOIN
-
JSON
-
LOGGER
-
META
-
PATH
-
RANGE
-
ROO
-
SCRIPT
-
SERIALIZATION
-
TEXT