Programming Ruby 3.2 (5th Edition) (Pragmatic Bookshelf)
Hot This:
Latest Threads About This Book

There is an example of using Threads on page 188:
require "net/http"
pages = %w[www.rubycentral.org www.pragprog.com www.google.com]
t...
New

@noelrappin
On page 376 in the second paragraph (the one below the image):
wrong:
… then looks in its singleton class class for …
cor...
New

@noelrappin
On page 376, first paragraph:
wrong:
… , that’s the first place Ruby looks for object lookup.
correct:
… , that’s the fi...
New

@noelrappin
On page 375 second to last paragraph:
wrong:
When you define a singleton class, Ruby creates …
correct:
When you define ...
New

From Chapter 5: Splat! Expanding Collections in Method Calls
We’ve seen that if you prefix the name of a method argument with an asteri...
New

@noelrappin
In the Where Ruby Finds Its Libraries section on page 244 there’s a discussion about the standard directories used for libra...
New

Title: Name of book: Programming Ruby 3.3 (page 227)
@noelrappin
On page 227 there’s a section entitled RSpec and Mocks.
Immediately f...
New

@noelrappin
On page 122, in the discussion of “Strings and Encodings”, it is stated: “A Unicode character is two bytes long, which makes...
New

A Ruby-Centric Chat with Noel Rappin @noelrappin
Once you start noodling around with Ruby you quickly figure out, as Noel Rappi...
New

Title: Programming Ruby 3.2 (5th edition), p 23 (in Beta 6) –
After showing declaration of hashed “instrument_section” values, the sampl...
New

In this class get_tax method return string is missing interpolation for the @name instance variable.
class TaxCalculator
def initializ...
New

@noelrappin
I think this thing &: would be a great addition to the list of notation and typography that is called by a name that is ...
New

@noelrappin
The functionality as described (Convert the argument to the stated type.) for methods like Integer() is very incomplete. It ...
New

Programming Ruby 3.2 (5th Edition): typo (page 491)
Currently:
So now when Scheudler[RedisJob] is declared, RBS ensures that RedisJob i...
New

Programming Ruby 3.2 (5th Edition): Typo (page 475)
Should be “and” not “an”
Current:
"You can also alias inside a module or class wit...
New

Please note that Ruby’s === is different that JavaScript’s.
Should read:
Please note that Ruby’s === is different than JavaScript’s.
o...
New

It’s a pity there are so few reviewers. It there are remaining typos (sure there are), I’ll feel guilty :scream:.
The good news is that ...
New

@noelrappin
page 625, last bullet, first line : parameter → argument (or arguments ?)
The third line uses arguments, so I suppose you a...
New

@noelrappin
page 615, second paragraph, third line : modjule instead of module
classes or modules that match (or are a subclass of) mod...
New

@noelrappin
page 614, in Query, paragraph 4 : a → an
There are several slightly different mechanisms for a boolean test of whether a ob...
New

@noelrappin
page 612, two periods on the last line :
by subclasses to provide matching behavior in case statements. .
...
New

@noelrappin
page 611, second paragraph after the output of ripper_1.rb,
As a example
should be
As an example.
New

@noelrappin
page 610, in Event Hooks
Module#method_removed and Module#method_undefined both use the same
with the name of the new met...
New

@noelrappin
page 608, in Modifying Modules, paragraph 4, line 7 : r instead of or
receiving module r one of its ancestor modules, and M...
New

@noelrappin
page 606, first paragraph, last line
so inherits all the functionality describe here.
I think it should be described.
New

@noelrappin
page 605, paragraph after compose_methods.rb code, first line : twice of
The number of arguments that a method takes is cal...
New

@noelrappin
page 603, second to last paragraph, first line : program_name instead of progname
You add new entries to the log with Logge...
New

@noelrappin
page 602, second paragraph, second line : comma instead of period
environment variables in the subshell. The keys must be s...
New

@noelrappin
page 601, in Executing System Commands, second paragraph, lines 2-3, Kernel#\ instead of Kernel#` + $?‘ instead of $?
145 i...
New

@noelrappin
page 600, last paragraph, first line : superfluous that ?
Kernel#__dir__ returns the path of the directory of the file that...
New
Most Active This Week
Most Active This Month
Most Active This Year

Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New

There is an example of using Threads on page 188:
require "net/http"
pages = %w[www.rubycentral.org www.pragprog.com www.google.com]
t...
New
Most Active Last Three Years

A Ruby-Centric Chat with Noel Rappin @noelrappin
Once you start noodling around with Ruby you quickly figure out, as Noel Rappi...
New

“Alternately you can list one or more specific paths (.rb or .rbi files after the tc) to limit checking,”
It might be worth mentioning t...
New

Hi @noelrappin,
first of all: It’s SO good to read an updated version of this book! Thanks for all the effort! :pray:
The text says:
...
New

@noelrappin
Programming Ruby 3.2 (5th Edition) (PragProg), Beta release, p 295, under the subheading “Querying the System”, 2nd paragrap...
New

@noelrappin
+++++ page 49 Reopening Classes
While ...
the most unique features of Ruby’s class structure: The ability to ...
...
New

@noelrappin On page 68 of the PDF in the paragraph preceding the fib_up_to method definition, the word “we” is duplicated.
The text read...
New

@noelrappin
page 269, running rspec
These tests pass (after you update the .gemspec file):
$ rspec spec/aaagmnr/options_spec.rb
It ...
New

@noelrappin
page 274, in Packaging Your RubyGem, paragraph 2, command $ gem build
Missing README.md in code/gems/aaagmnr :
% gem build...
New

“One thing you might find unusual is that in the second clause Ruby uses the keyword eslif—one word, missing an “e”—to indicate “else if”...
New

@noelrappin
On page xii of the Preface, the paragraph beginning with, “Here, you can see…,” has an error in the last sentence. Following...
New

@noelrappin
I’m not Anglophone, so I’m not sure. Third paragraph from end of page 21, second line : Idiomatic Ruby tends to
lean in to ...
New

@noelrappin
“The order of the keys in the hash is stable and will alway match the order in which the keys were added to the hash.”
shou...
New

@noelrappin
I think this thing &: would be a great addition to the list of notation and typography that is called by a name that is ...
New

@noelrappin On page 89 of the PDF in the last sentence of the last paragraph of the page and just before the example that begins “class C...
New

First of all, thank you so much @noelrappin for writing this book, I am just starting with Ruby and this book is very helpful.
I just wa...
New
Most Active Over Three Years

@noelrappin
page 335, second to last line : colon instead of period at end of sentence :
call, either of those can be arguments to run:...
New

@noelrappin in the first sentence of the second paragraph of page 14 the text includes a “for” that shouldn’t be there:
“The official Ru...
New

@noelrappin
Many places have require “name”, other require name. If you want to have the same style everywhere, the following pages are ...
New

@noelrappin
page 339, third paragraph from bottom, line 3 : twice the
pulling in both Sinatra itself, and the the Thin web server, when...
New

@noelrappin
Already in the previous edition !
page 373, third paragraph, first line : built in to or built into ?
But when you metapr...
New

The beginning of the 4th paragraph from the bottom:
“BeBy default …”
New

@noelrappin
Page 187, last paragraph, line 7 :
(again, with the exception of the Ractor library). Ruby installations that do want to t...
New

@noelrappin
page 513, third paragraph, second line : might not have a later
if that might cause performance issues later—a short script...
New

@noelrappin
page 472, paragraph after Safe Navigation, line 2 : twice is
method is is not called and the entire expression returns nil....
New

@noelrappin
page 525, last example :
… and "IBM".tr("B-Z", "A-Y") => "HAL"
… for those who have seen the film 2001: A Space Odyssey...
New

@noelrappin
page 625, last bullet, first line : parameter → argument (or arguments ?)
The third line uses arguments, so I suppose you a...
New

@noelrappin
page 565, third paragraph : strange sentence
None of these methods are dependent on the file name being managed actually e...
New

@noelrappin
In the third sentence of the first full paragraph on page 19, the word “response” is used when “responds” should be used ins...
New

@noelrappin
p. 356, example method in section “Ruby Style in the Large”, the definition for the first example of method “send_promotion_...
New

@noelrappin
Duplicate word: “We don’t need to declare the symbols or assign assign them a value…”
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!