This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Array.delete_if (from ruby core) --- array.delete_if {|element| ... } -> self array.delete_if -> Enumerator --- Removes each element in `self` for which the block returns a truthy value; returns `self`: a = [:foo, 'bar', 2, 'bat'] a.delete_if {|element| element.to_s.start_with?('b') } # => [:foo, 2] Returns a new Enumerator if no block given: a = [:foo, 'bar', 2] a.delete_if # => #<Enumerator: [:foo, "bar", 2]:delete_if>
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.