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

pos=

        # IO.pos=

(from ruby core)
---
    pos = new_position -> new_position

---

Seeks to the given `new_position` (in bytes); see
[Position](#class-IO-label-Position):

    f = File.open('t.txt')
    f.tell     # => 0
    f.pos = 20 # => 20
    f.tell     # => 20

Related: IO#seek, IO#tell.



      

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.