This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Hash.reject! (from ruby core) --- hash.reject! {|key, value| ... } -> self or nil hash.reject! -> new_enumerator --- Returns `self`, whose remaining entries are those for which the block returns `false` or `nil`: h = {foo: 0, bar: 1, baz: 2} h.reject! {|key, value| value < 2 } # => {:baz=>2} Returns `nil` if no entries are removed. Returns a new Enumerator if no block given: h = {foo: 0, bar: 1, baz: 2} e = h.reject! # => #<Enumerator: {:foo=>0, :bar=>1, :baz=>2}:reject!> e.each {|key, value| key.start_with?('b') } # => {:foo=>0}
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.