Skip to content

Commit ca29eed

Browse files
committed
Merge pull request #90 from bquorning/fix-readme
Minor README fixes
2 parents ddbdd07 + b5838fd commit ca29eed

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Comparison:
203203
##### Function with single Array argument vs splat arguments [code](code/general/array-argument-vs-splat-arguments.rb)
204204

205205
```
206-
$ ruby -v array-argument-vs-splat-argument.rb
206+
$ ruby -v code/general/array-argument-vs-splat-arguments.rb
207207
ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-linux-gnu]
208208
Calculating -------------------------------------
209209
Function with single Array argument
@@ -445,7 +445,7 @@ Comparison:
445445
> -- @sferik [rails/rails@3413b88](https://github.com/rails/rails/commit/3413b88), [Replace map.flatten with flat_map](https://github.com/rails/rails/commit/817fe31196dd59ee31f71ef1740122b6759cf16d), [Replace map.flatten(1) with flat_map](https://github.com/rails/rails/commit/b11ebf1d80e4fb124f0ce0448cea30988256da59)
446446
447447
```
448-
ruby -v code/enumerable/map-flatten-vs-flat_map.rb
448+
$ ruby -v code/enumerable/map-flatten-vs-flat_map.rb
449449
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
450450
451451
Calculating -------------------------------------
@@ -489,7 +489,8 @@ Comparison:
489489
##### `Enumerable#detect` vs `Enumerable#select.first` [code](code/enumerable/select-first-vs-detect.rb)
490490

491491
```
492-
$ ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
492+
$ ruby -v code/enumerable/select-first-vs-detect.rb
493+
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
493494
494495
Calculating -------------------------------------
495496
Enumerable#select.first 8.515k i/100ms
@@ -524,7 +525,7 @@ Enumerable#select.last: 119386.8 i/s - 10.58x slower
524525
##### `Enumerable#sort` vs `Enumerable#sort_by` [code](code/enumerable/sort-vs-sort_by.rb)
525526

526527
```
527-
ruby -v code/enumerable/sort-vs-sort_by.rb
528+
$ ruby -v code/enumerable/sort-vs-sort_by.rb
528529
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
529530
530531
Calculating -------------------------------------
@@ -798,7 +799,7 @@ String#downcase + ==: 2914767.7 i/s - 1.27x slower
798799
##### String Concatenation [code](code/string/concatenation.rb)
799800

800801
```
801-
$ ruby code/string/concatenation.rb
802+
$ ruby -v code/string/concatenation.rb
802803
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
803804
804805
Calculating -------------------------------------

0 commit comments

Comments
 (0)