Become a member
Sign in
Shadeslayer
Shadeslayer

Shadeslayer

Editor of Rubyshot
177 Following
10 Followers
  • Profile
  • Claps
  • Responses

Featured

Shadeslayer
Shadeslayer in Rubyshot
Aug 5, 2016 · 2 min read

Each, Map, Select, Collect and other Enumerable methods

Each & Map

Enumerable#each executes the given block for each element of the array, then returns the array itself.

Latest

Shadeslayer
Shadeslayer in Rubyshot
Aug 5, 2016 · 1 min read

Truthiness in Ruby

  • The way booleans are treated in most languages it’s not same in Ruby.
  • True and false are the only true booleans in Ruby.
  • That is all well and good but in our day to day dealings with Ruby we do not always come across true and false.We come…