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| ... } -> new_hash hash.reject -> new_enumerator --- Returns a new Hash object whose entries are all those from `self` for which the block returns `false` or `nil`: h = {foo: 0, bar: 1, baz: 2} h1 = h.reject {|key, value| key.start_with?('b') } h1 # => {:foo=>0} 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> h1 = e.each {|key, value| key.start_with?('b') } h1 # => {: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.