Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README

  • Loading branch information...
commit f4aae892d96b228d65726e31f14692c5c6a62cc1 1 parent bbbd3dc
@mynyml authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README
View
2  README
@@ -12,7 +12,7 @@ arguments? sure:
%w( axb dxf ).every.gsub(/x/,'y') #=> ['ayb', 'dyf']
%w( axb dxf ).every.gsub(/x/) { 'y' } #=> ['ayb', 'dyf']
-need to call multiple methods?
+need to call multiple methods? there's a shortcut:
enum.every.floor.every.next.every + 2 #=> [4,5,6]
enum.every { floor.next + 2 } #=> [4,5,6]
Please sign in to comment.
Something went wrong with that request. Please try again.