lib/folio/document.rb in folio-0.2.0 vs lib/folio/document.rb in folio-0.3.0
- old
+ new
@@ -1,8 +1,12 @@
require 'folio/fileobject'
module Folio
+ # = Document
+ #
+ # The Document class represents a FileObject.
+ #
class Document < FileObject
def intialize(path)
super
raise FileNotFound unless ::File.file?(@path)