The new lineup is here. Stunning design. New colors. Explore now.
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
$19.99
Get Fast, Free Shipping with Amazon Prime
FREE delivery Thursday, October 15 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Monday, October 12. Join Prime
In Stock
$$19.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$19.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
30-day refund / replacement
30-day refund / replacement
Quick refund
Usually issued within 24 hours. See exceptions
Shipping fee
May apply, not eligible for free return. See details
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Sponsored
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Ruby Method Arguments: From Your First Call to Metaprogramming

Follow the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Something went wrong. Please try your request again later.

Ruby Method Arguments: From Your First Call to Metaprogramming

5.0 out of 5 stars (1)

90 days free of Amazon Music with purchase Terms
{"desktop_buybox_group_1":[{"displayPrice":"$19.99","priceAmount":19.99,"currencySymbol":"$","integerValue":"19","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"%2FQUoZuK29wZ3UDWps3u0wpMLrcVXpCtp4Jp%2FuR0VqLRnlDUdZyhzgKm0jVvZToG87lhEO%2FiJ3YJu0IBiOdW3kkbZZZLnAdQcWS%2FAdsiPKx44GGNN5TWIn11uUBWGUZSLDd7B9r8P7WozR%2F%2FjKEppLw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

Master the hidden half of Ruby — from your very first method call to metaprogramming that reads like magic.

You learned method arguments on day one. So why does real Ruby — Rails, RSpec, every gem you admire — still feel like it's written in a dialect you never quite learned?

Because the day-one version stops at def greet(name). The Ruby that professionals write runs on required keywords, splats and double-splats, captured blocks, lambdas with surprising return rules, methods that build other methods, and blocks that execute inside a different object entirely. These aren't exotic corners — they're the everyday vocabulary of expressive Ruby, and almost nobody teaches them in one connected, ground-up story.

This book does. It begins where a beginner begins — passing a single value — and doesn't stop until you can read and write the advanced patterns with ease, ending with you building a small domain-specific language of your own. Every idea arrives in plain language, with a tiny example you can run and a result you can see, right there in a comment.

What you'll master

  • Positional, optional, and keyword arguments — and how to design signatures people actually enjoy calling
  • The splat and double-splat, their anonymous forms, and how to forbid keywords entirely
  • Blocks, yield, procs vs. lambdas, closures, and the loop-variable traps that catch everyone
  • Currying, partial application, and function composition
  • send, define_method, method_missing done honestly, and instance_eval / class_eval
  • Argument forwarding — and the patterns behind Rails and RSpec, rebuilt from scratch
  • Performance, anti-patterns, and a capstone DSL you build yourself

Why now, of all times. We're living through an explosion of machine-generated code. It has never been easier to produce Ruby, nor more important to truly understand it — because you can't review, trust, or steer what you can't read. This book gives you the foundations to judge anything put in front of you, whether you wrote it or a tool did.

Beginner-friendly, developer-deep. Written for modern Ruby (4.0, and it runs unchanged on the 3.x line). Every Try it exercise comes with a complete, self-checking solution in the companion code repository.

Pour something warm, open a console, and discover how much is hiding inside the most ordinary thing in the language.

Sponsored

Product details

  • ASIN ‏ : ‎ B0H94X89BR
  • Publisher ‏ : ‎ Independently published
  • Publication date ‏ : ‎ July 14, 2026
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 158 pages
  • ISBN-13 ‏ : ‎ 979-8187260591
  • Item Weight ‏ : ‎ 13 ounces
  • Dimensions ‏ : ‎ 7.5 x 0.36 x 9.25 inches
  • Best Sellers Rank: #4,622,614 in Books (See Top 100 in Books)
  • Customer Reviews:
    5.0 out of 5 stars (1)

About the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Razeel Akbar
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Razeel Akbar is a Software Engineer of twenty years who fell for Ruby the way some people fall for a language they can finally think in — and fell just as hard for Rails, the one-person framework that let small teams ship what an army was supposed to.

He has built across TypeScript, JavaScript, Deno, Bun, Go, Python, Lua and Rust, and is lately exploring Elixir and Phoenix. Two decades of shifting fashion taught him one habit: never just use a tool, ask how it works underneath.

Frameworks arrive and retire; what survives is the engineer who understands the machinery. He believes learning by doing is the only learning that lasts, so his books move one idea, one runnable example, one visible result at a time — until it lives in your fingers, not on the page.

After years of ghostwriting under other names, Ruby Method Arguments is his first book under his own, through BTW.I.Build Press.

He is happiest one level below the surface, where the syntax stops and the machinery starts.

Sponsored

Customer reviews

5 out of 5 stars
1 global rating
Sponsored
Sign in to see customer reviews.