Mastering Ruby Blocks Video Course: Enumerable Part II

Sdílet
Vložit
  • čas přidán 4. 12. 2014
  • Now that you’re comfortable with the basic style and syntax of Ruby blocks, you're ready to use blocks to make your code more expressive, compact, and flexible. One way to do that is by using blocks to get the most out of the Ruby standard library. Indeed, many of Ruby’s most powerful methods take a block.
    The methods in the Enumerable module-select, reject, map, reduce, and friends-are particularly great examples of the power of blocks. Master the Enumerable methods and you'll be a more efficient Ruby programmer!
    Access the complete online course at pragmaticstudio.com/ruby-blocks

Komentáře •