Ruby Weekly
I write the Tip of the Week column for Ruby Weekly most weeks. Here are the ones I’ve written so far:
-
Hash#except in Ruby 3+
-
The -p and -n options when running Ruby
-
Ruby's -e and -c command line options
-
General Delimited Input
-
Numbered Parameters
-
extend
-
Singleton classes (briefly...)
-
prepend
-
include
-
Ancestors in Ruby
-
Object#public_methods takes a boolean parameter
-
Running Specific specs with RSpec
-
String Formatting
-
Heredoc Indentations
-
Heredoc Method Chaining
-
Helpful MatchData Methods
-
Variable Pinning
-
Eval History in IRB
-
Effective Use of Array#bsearch
-
Triple Equals (===)
-
Kernel#caller_locations
-
Enumerable#filter_map
-
Tallying and Counting Enumerables
-
Using Comparable#clamp to limit a value to within a range
-
Open an IRB console within code using binding.irb