class Fid

represents files that are in the MogileFS database. This model is used for talking to the MogileFS database via ActiveRecord

Public Instance Methods

classname() click to toggle source

If there is no fileclass then it is the default class @return [String] name of class file belongs to

# File lib/file.rb, line 13
def classname
  if fileclass
    fileclass.classname
  else
    return 'default'
  end
end