Posts Tagged “Ruby”

Ruby’s Bitwise Operators

A rundown of Ruby’s bitwise operators and an explanation of how two’s complement is used to represent signed integers.

Splatting Regex Matches

Stop repeating yourself and learn how Ruby’s splat operator works behind the scenes.

Hash#fetch

Catch incorrect assumptions where they’re made instead of where they break your program.