Download computer tutorials in PDF

Using Blocks in Ruby



Download free course Using Blocks in Ruby, pdf file on 25 pages by Jay McGavren.
Unannounced and unmarked, blocks turn up all over Ruby programs. Their use ranges from some of Ruby's most basic structures, such as loops, to some of its most sophisticated tricks. Similar to closures or lambdas in other languages, blocks enable some of Ruby's vaunted efficiency. Blocks even allow other people to write some of the code you use.

With this excerpt from Head First Ruby, you'll learn about blocks by looking at each concept from different angles. Exercises throughout will help you understand and remember how these closure-like structures work. In fact, these exercises are key component to our unique, hands-on Head First approach.
  • Bend your mind around blocks and methods
  • Build blocks into larger structures
  • Do heavy lifting easily with blocks
  • Get more done with less code

Table of contents

Pages : 25
Size : 2.0 MB
Downloads: 63
Created: 2022-02-03
License: CC BY
Author(s): Jay McGavren

Download file

Others related eBooks about Using Blocks in Ruby

Ruby programming tutorial

Download free Ruby tutorial course in PDF, training file in 69 chapters and 235 pages. Free unaffiliated ebook created from Stack OverFlow contributor.

Ruby Hacking Guide

The Ruby Hacking Guide is a book that explains how the ruby interpreter (the official C implementation of the Ruby language) works internally. To fully understand it, you need a good knowledge of C and Ruby. This book is going to investigate ruby as a whole.

Learning Ruby on Rails

Download free course Learning Ruby on Rails, pdf file on 291 pages by Stack Overflow Community.

Ruby Regexp

Download free course Ruby Regexp, pdf file on 72 pages by Sundeep Agarwal.

Ruby Kung Fu (RubyFu) Tutorial

Looking for a comprehensive guide to hacking using the Ruby programming language? Look no further than RubyFu, a free 281-page PDF download by RuFu.