The Latest in Ruby
Ruby on laptop
Ruby Challenge: Run Length Encoding
Run-length encoding is an obsolete but trivial compression algorithm. Not useful to know, but perfect for a programming challenge.
Ruby Challenge: Asterisk Banner
Do you remember BASIC? Do you remember line numbers? How about surrounding comments and program titles with asterisks? Perhaps you don't want to remember the first two (some things should stay dead), but your challenge is this: create BASIC-style headers in Ruby.
Should You Use respond_to? or is_a? in Ruby?
Should You Use respond_to? or is_a? in Ruby? How do you know what type of object you're dealing with?
Spotlight on Ruby Gems: id3tag
Massaging MP3 metadata in Ruby.
Spotlight on Ruby Gems: attr_encrypted
The attr_encrypted gem allows you to seamlessly encrypt some (or all) of your object's attributes.
Using BCrypt in Ruby
Using BCrypt for future-proof password security in Ruby.
Why does "string" * 4 work, but 4 * "string" not work?
Why does "string" * 4 work, but 4 * "string" not work? I didn't think order mattered with multiplcation?
Why can I redefine 'puts,' but can't redefine my own methods?
Why can I redefine 'puts,' but can't redefine my own methods? It seems like I can override built in methods, but I can't override my own methods.
Quickly Run an HTTP Server with Ruby (Also, the Un Library)
Quickly Run an HTTP Server with Ruby (Also, the Un Library)
How Do I Create a Struct from a Hash in Ruby?
I have a hash, but I want a struct. How do I create a struct from a hash?
Simple Ruby tips that having been staring you right in the face for years
The following is a short collection of tips that are so obvious they've likely been staring you in the face for a very long time. Why haven't you been using them? You're likely stuck in a rut, doing things in a certain way without even realizing there is a slightly easier way.
Ruby on laptop
Is Ruby a Good First Language to Learn?
Is Ruby a good first language to learn? Everyone has to start somewhere, and is Ruby an appropriate place to start if you're looking to take the plunge and learn a programming language?
Reserved Words in Ruby
Every language has a number of reserved words that cannot be used as variable or method names. Ruby's reserved words are as follows.
Combining Arrays in Ruby
There are a number of ways to combine arrays in Ruby.
Delegates in Ruby
How to use delegates in Ruby.
Prev
1
2
3
4
5
7