Sha256: 50c97ea5dd2bdb3fa9157e9f5356458be9df8bc40ea4fd45816eec1c9c67e1e2

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

Opals' Ruby Filesystem
======================

This gem provides the additional methods for File and Dir to support
full reading and writing. Core only contains the most basic methods
from File and Dir because Opal in the browser has no means of actually
reading or writing to disk. This gem is only meant to be used by the
gem context, which runs ontop of therubyracer. This gem will
automatically be loaded by the Context class, so it will be immediately
available for use.

Implementation
--------------

The Context class in the Opal build tools exposes/fixes the `.fs` property
on the `opal` object in the javascript context to expose a lot of the
native functionality directly. This is backed by the `FileSystem` class
in the Opal build tools.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-0.3.2 gems/core_fs/README.md
opal-0.3.1 gems/core_fs/README.md
opal-0.3.0 gems/core_fs/README.md