Class: Thinning::File
- Inherits:
-
Object
- Object
- Thinning::File
- Defined in:
- lib/thinning/file.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(path, timestamp) ⇒ File
constructor
A new instance of File.
Constructor Details
#initialize(path, timestamp) ⇒ File
Returns a new instance of File.
5 6 7 8 |
# File 'lib/thinning/file.rb', line 5 def initialize(path, ) @path = path @timestamp = end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
3 4 5 |
# File 'lib/thinning/file.rb', line 3 def path @path end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
3 4 5 |
# File 'lib/thinning/file.rb', line 3 def @timestamp end |