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

fsync

        # IO.fsync

(from ruby core)
---
    fsync -> 0

---

Immediately writes to disk all data buffered in the stream, via the
operating system's `fsync(2)`.

Note this difference:

*   IO#sync=: Ensures that data is flushed from the stream's internal
    buffers, but does not guarantee that the operating system actually
    writes the data to disk.
*   IO#fsync: Ensures both that data is flushed from internal buffers,
    and that data is written to disk.


Raises an exception if the operating system does not support `fsync(2)`.



      

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.