Programming Ruby 3.2 (5th Edition) (Pragmatic Bookshelf)
Hot This:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years

@noelrappin
page 269, running rspec
These tests pass (after you update the .gemspec file):
$ rspec spec/aaagmnr/options_spec.rb
It ...
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
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
Many places have require “name”, other require name. If you want to have the same style everywhere, the following pages are ...
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 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

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 593 bottom, in the line before ref_meta_ruby/delegate_class.rb
pass the object to be delegated to the parameter clas...
New

@noelrappin
page 323, paragraph 4, line 2 : $rdoc ?
will likely use approximately never, see $rdoc --help for a full rundown.
The do...
New

@noelrappin
page 355, paragraph 3, line 2 :
figuration or by running rubocop -a to auto correct (which will fix all but the first issue...
New

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

@noelrappin
page 351, in Getting Started with Rubocop, executing $ rubocop
I have re-downloaded the code from the book, cd to /ruby_sty...
New

@noelrappin
page 468, reference/kwargs_2.rb produces no output :
% ruby -w reference/kwargs_2.rb
%
Adding puts to the last line shows...
New

@noelrappin
First line while (line = gets) would be better Ruby as
while line = gets.
Even Scala 3 has been Rubyfied and suppressed th...
New
Most Active Over Three Years

@noelrappin
In Programming Ruby 1.9, 2010 edition, this hash in page 21 was nicely aligned ;
inst_section = {
'cello' => 'strin...
New

@noelrappin
Already in the previous edition !
page 381, second code, second of the four puts : animal is a dog, not a cat
puts "It def...
New

@noelrappin
page 444-5 : It would be nice if the layout of page 445 could be changed so that end}, which appears after Table 11, would a...
New

@noelrappin
page 455, compared with The Ruby Programming Language by David Flanagan & Yukihiro Matsumoto, O’Reilly 2008, there is so...
New

@noelrappin
page 269, paragraph after the code, first bullet
• You won’t be able to run this without also updating the .gemspec file as...
New

@noelrappin
page 203, first paragraph, line 2-3 :
ractor. The entrance lines are infinite, and the sending call is guaranteed not to b...
New

@noelrappin
page 507, in BigDecimal, fourth paragraph from bottom, first line :
To use BigDecimal, you must require bigdecimal in your ...
New

@noelrappin
page 580, in Pathname, line 3
and so on). Second (and somewhat confusingly), it acts as a facade for some methods in
...
New

@noelrappin
page 204, paragraph 7 (counting code and output for one), line 2 :
Subsequently, the last source.take returns nil and ends ...
New

@noelrappin
page 549, in Lazy Enumerators, third line : pass or are passed ?
of the method chain, it changes the behavior of the entire...
New

@noelrappin
page 240, last paragraph, lines 5-7 : the short option can have a space
… … … … … … … … … … … … … … … … … … … … … There’s ...
New

Page 185, last example
response = http.get('/book/ruby3/programming-ruby-1-9')
doesn’t work for me, the response.message is Moved Perma...
New

@noelrappin
page 455, what about completing Table 13—Ruby operators with :: and . ?
I was surprised not to find the scope resolution op...
New

@noelrappin
page 274, paragraph after Packaging Your RubyGem, first line : you’ll can create
Once the gem specification is complete, yo...
New

@noelrappin
page 205, paragraph after the code, line 2 :
then blocks at Ractor.receive. Only then do we create the reading ractor
Be...
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.