Active Threads:
Most Active This Week
Most Active This Month
Most Active This Year

“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
page 269, running rspec
These tests pass (after you update the .gemspec file):
$ rspec spec/aaagmnr/options_spec.rb
It ...
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 187, last paragraph, line 7 :
(again, with the exception of the Ractor library). Ruby installations that do want to t...
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
In Programming Ruby 1.9, 2010 edition, this hash in page 21 was nicely aligned ;
inst_section = {
'cello' =>...
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

@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 204, paragraph 7 (counting code and output for one), line 2 :
Subsequently, the last source.take returns nil and ends ...
New

@noelrappin
Already in the previous edition !
page 381, second code, second of the four puts : animal is a dog, not a cat
puts "I...
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 455, compared with The Ruby Programming Language by David Flanagan & Yukihiro Matsumoto, O’Reilly 2008, there is so...
New

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

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

page 225 or even 220
It would be worth noting that adding -fd or --format documentation as option to rspec makes a nicer output with all...
New
Most Active Last Three Years

@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 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 203, first paragraph, line 2-3 :
ractor. The entrance lines are infinite, and the sending call is guaranteed not to b...
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

@noelrappin
page 220, in Starting to Score Tennis Matches, second paragraph, line 2 : missing “, see” before the link to chapter 15
dri...
New

@noelrappin
Page 121, last paragraph (before code) :
And if you put a tilde after the characters you can indent the text.
Would be b...
New

@noelrappin
page 352, first bullet :
• I is used for “info.” It’s rare for an “info” failure will be reported, but not counted as a
...
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 238, in ARGF, paragraph 3, line 5 : have finished instead of finishing ???
point, when you finishing reading from the ...
New

@noelrappin
page 212, in Structuring Tests, paragraph 2 : missing colon ?
You include the testing framework facilities in your unit by ...
New

@noelrappin
Page 181, paragraph 4
$ ruby copy.rb testfile
% ruby -w copy.rb testfile
copy.rb:9:in `gets’: No such file or directory...
New

@noelrappin
page 245, last paragraph : for me, executing rake doesn’t display the directory :
% rake delete_unix_backups
rm env.rb~ pig...
New

@noelrappin
Page 111, example tut_modules/vowel_finder_sum.rb
All this code with three classes including Summable for only one line of ...
New

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

@noelrappin
Page 126, Ranges as Intervals, paragraph 3 :
The triple equal version is often used in case statements:
I thought it was...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!

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