This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Enumerator::Lazy.collect (from ruby core) ### Implementation from Lazy --- collect() --- Like Enumerable#map, but chains operation to be lazy-evaluated. (1..Float::INFINITY).lazy.map {|i| i**2 } #=> #<Enumerator::Lazy: #<Enumerator::Lazy: 1..Infinity>:map> (1..Float::INFINITY).lazy.map {|i| i**2 }.first(3) #=> [1, 4, 9] (This method is an alias for Enumerator::Lazy#map.) Like Enumerable#map, but chains operation to be lazy-evaluated. (1..Float::INFINITY).lazy.map {|i| i**2 } #=> #<Enumerator::Lazy: #<Enumerator::Lazy: 1..Infinity>:map> (1..Float::INFINITY).lazy.map {|i| i**2 }.first(3) #=> [1, 4, 9]
This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.