This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Array.reject (from ruby core) --- array.reject {|element| ... } -> new_array array.reject -> new_enumerator --- Returns a new Array whose elements are all those from `self` for which the block returns `false` or `nil`: a = [:foo, 'bar', 2, 'bat'] a1 = a.reject {|element| element.to_s.start_with?('b') } a1 # => [:foo, 2] Returns a new Enumerator if no block given: a = [:foo, 'bar', 2] a.reject # => #<Enumerator: [:foo, "bar", 2]:reject>
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.