Ruby Method Arguments: a new book, from your first call to metaprogramming
A new book on Ruby method arguments that
follows one thing all the way down: how a Ruby method receives its arguments. From
def greet(name) to keyword arguments, splats, blocks, closures, method_missing,
instance_eval, and building a small DSL — with the patterns behind Rails and
RSpec rebuilt from scratch. Every example was run before it was printed, and the
exercises have self-checking solutions in a free companion repo.
Post a comment