Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are ruby blocks.



What are ruby blocks...

Answer / Surabhi Sachdeva

"Ruby blocks are anonymous functions that can be passed around and executed when needed. They are defined using the 'do...end' syntax. Blocks are commonly used with iterators such as each, map, and reduce to perform operations on each element of a collection."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is mvc and why do we use it?

1 Answers  


Explain retry statement in ruby.

1 Answers  


List some features of ruby?

1 Answers  


Explain ruby strings.

1 Answers  


How to create a new time instance in Ruby?

1 Answers  


what is the difference between String and Symbol?

1 Answers  


what is the Notation used for denoting class variables in Ruby?

1 Answers  


What is the difference between “#==” and “#equal?”

1 Answers  


what is the difference between put and putc statement?

1 Answers  


Why Ruby is known as a language of flexibility?

1 Answers  


Tell me how you can list all routes for an application?

1 Answers  


In Ruby, it explains about the defined operator?

1 Answers  


Categories