This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

size

        # Range.size

(from ruby core)
---
    size -> non_negative_integer or Infinity or nil

---

Returns the count of elements in `self` if both begin and end values are
numeric; otherwise, returns `nil`:

    (1..4).size      # => 4
    (1...4).size     # => 3
    (1..).size       # => Infinity
    ('a'..'z').size  #=> nil

Related: Range#count.



      

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.