Sha256: 41d6c82e2dfcdb3400b3c77cf54cfe6f62ba020613b79a9d8f6d39a4550035dc

Contents?: true

Size: 801 Bytes

Versions: 1

Compression:

Stored size: 801 Bytes

Contents

require 'fileutils'
require 'folio/errors'
require 'folio/prompt'
require 'folio/fileobject'
require 'folio/directory'
require 'folio/document'
require 'folio/link'
require 'folio/device'
require 'folio/socket'
require 'folio/pipe'

#def folio(path)
#  Folio.new(path)
#end

# = Folio
#
# In folio the term `file` means a file object. That is to say any
# type of file system resource: document, directory, device, etc.
# We use the term `document` instead to mean "regular files".
# This terminolgy was chosen for two reasons. Namely, (1) a 
# differentiation in terms was required; and (2) a file in the
# everyday sense is something in which one puts papars (eg. documents).
#
module Folio

  def self.file(*path)
    FileObject[*path]
  end

  def self.[](*path)
    Prompt.new(*path)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
folio-0.2.0 lib/folio.rb