Class: Timechunker::Chunksize
- Inherits:
-
Object
- Object
- Timechunker::Chunksize
- Defined in:
- lib/timechunker/chunksize.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
readonly
Returns the value of attribute size.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(size, type) ⇒ Chunksize
constructor
A new instance of Chunksize.
Constructor Details
#initialize(size, type) ⇒ Chunksize
Returns a new instance of Chunksize.
6 7 8 9 |
# File 'lib/timechunker/chunksize.rb', line 6 def initialize(size, type) @size = size @type = type end |
Instance Attribute Details
#size ⇒ Object (readonly)
Returns the value of attribute size.
4 5 6 |
# File 'lib/timechunker/chunksize.rb', line 4 def size @size end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/timechunker/chunksize.rb', line 4 def type @type end |