lib/megar/catalog/folder.rb
# Command: creates a new file given +attributes+ which contains the following elements:
#   body: the file body. May be a Pathname, File, or filename (String)
#   name: the file name to assign (optional if already available from the body object)
#
# The file is stored in the parent folder (or root folder by defult)
creates a new file given +attributes+ which contains the following elements:
body: the file body. May be a Pathname, File, or filename (String)
name: the file name to assign (optional if already available from the body object)

The file is stored in the parent folder (or root folder by defult)
creates a new file given + attributes + which contains the following elements : body : the file body . May be a Pathname File or filename ( String ) name : the file name to assign ( optional if already available from the body object ) The file is stored in the parent folder ( or root folder by defult )
def create(attributes)
    if uploader = self.uploader(attributes)
      uploader.post!
    end
  end
def create ( attributes ) if uploader = self . uploader ( attributes ) uploader . post! end end
Command: creates a new file given +attributes+ which contains the following elements:
body: the file body.
Command : creates a new file given + attributes + which contains the following elements : body : the file body .
attributes