Class: FManager::FileMeta
- Inherits:
-
Object
- Object
- FManager::FileMeta
- Defined in:
- lib/fmanager/fmeta.rb
Instance Attribute Summary collapse
-
#digest ⇒ Object
readonly
Returns the value of attribute digest.
-
#fsize ⇒ Object
readonly
Returns the value of attribute fsize.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(fsize, path, digest) ⇒ FileMeta
constructor
A new instance of FileMeta.
Constructor Details
#initialize(fsize, path, digest) ⇒ FileMeta
Returns a new instance of FileMeta.
8 9 10 11 12 |
# File 'lib/fmanager/fmeta.rb', line 8 def initialize(fsize, path, digest) @fsize = fsize @digest = digest @path = path end |
Instance Attribute Details
#digest ⇒ Object (readonly)
Returns the value of attribute digest.
5 6 7 |
# File 'lib/fmanager/fmeta.rb', line 5 def digest @digest end |
#fsize ⇒ Object (readonly)
Returns the value of attribute fsize.
4 5 6 |
# File 'lib/fmanager/fmeta.rb', line 4 def fsize @fsize end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
6 7 8 |
# File 'lib/fmanager/fmeta.rb', line 6 def path @path end |