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| ... } -> self or nil array.reject! -> new_enumerator --- Removes each element for which the block returns a truthy value. Returns `self` if any elements removed: a = [:foo, 'bar', 2, 'bat'] a.reject! {|element| element.to_s.start_with?('b') } # => [:foo, 2] Returns `nil` if no elements removed. 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.