Class: Fid
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Fid
- Defined in:
- lib/file.rb
Overview
represents files that are in the MogileFS database. This model is used for talking to the MogileFS database via ActiveRecord
Instance Method Summary collapse
-
#classname ⇒ String
If there is no fileclass then it is the default class.
Instance Method Details
#classname ⇒ String
If there is no fileclass then it is the default class
13 14 15 16 17 18 19 |
# File 'lib/file.rb', line 13 def classname if fileclass fileclass.classname else return 'default' end end |