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

lineno=

        # IO.lineno=

(from ruby core)
---
    ios.lineno = integer    -> integer

---

Manually sets the current line number to the given value. `$.` is
updated only on the next read.

    f = File.new("testfile")
    f.gets                     #=> "This is line one\n"
    $.                         #=> 1
    f.lineno = 1000
    f.lineno                   #=> 1000
    $.                         #=> 1         # lineno of last read
    f.gets                     #=> "This is line two\n"
    $.                         #=> 1001      # lineno of last read



      

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.