This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Float.infinite? (from ruby core) --- infinite? -> -1, 1, or nil --- Returns: * 1, if `self` is `Infinity`. * -1 if `self` is `-Infinity`. * `nil`, otherwise. Examples: f = 1.0/0.0 # => Infinity f.infinite? # => 1 f = -1.0/0.0 # => -Infinity f.infinite? # => -1 f = 1.0 # => 1.0 f.infinite? # => nil f = 0.0/0.0 # => NaN f.infinite? # => nil
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.