RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in