Interline Publishing
 [email protected] +91 98867 328 23 / 24 / 25   +91 80 2333 2824 Sign Up   Sign In
Interline Publishing
Skip to Reader

Set up video

 
     
Code Blocks and Iterators
SUBJECT : Web Technology
AUTHOR : Bhushan
PUBLISHED ON : 09/06/17
NUMBER OF PAGES : ( 8 Pages)
PRICE : Rs 4.8

A code block is a sequence of statements delimited by braces or by do/end A code block can have parameters, listed at the beginning of the block, surrounded by vertical bars: |a, b| A code block may be passed to a method call, following the actual parameters of the call In the method body, a call to yield will executed the block Actual parameters of the call are matched with the block parameters An iterator applies a block to the values in a list An iterator is a looping construct in Ruby.

     

 
Home
About Us
Payments
Contact Us
Claims
Help
Advertising Guidelines
Safe and Secure Payment
All major credit and debit cards are accepted.
Policies: Terms of Use | Privacy    Copyright © 2017 Interline Publishing. All rights reserved.