Class: Stockboy::ProviderRepeater::ProviderStats
- Inherits:
-
Struct
- Object
- Struct
- Stockboy::ProviderRepeater::ProviderStats
- Defined in:
- lib/stockboy/provider_repeater.rb
Instance Attribute Summary collapse
-
#data_ ⇒ Object
(also: #data?)
Returns the value of attribute data_.
-
#data_size ⇒ Object
Returns the value of attribute data_size.
-
#data_time ⇒ Object
Returns the value of attribute data_time.
Class Method Summary collapse
Instance Attribute Details
#data_ ⇒ Object Also known as: data?
Returns the value of attribute data_
8 9 10 |
# File 'lib/stockboy/provider_repeater.rb', line 8 def data_ @data_ end |
#data_size ⇒ Object
Returns the value of attribute data_size
8 9 10 |
# File 'lib/stockboy/provider_repeater.rb', line 8 def data_size @data_size end |
#data_time ⇒ Object
Returns the value of attribute data_time
8 9 10 |
# File 'lib/stockboy/provider_repeater.rb', line 8 def data_time @data_time end |
Class Method Details
.from(provider) ⇒ Object
9 10 11 |
# File 'lib/stockboy/provider_repeater.rb', line 9 def self.from(provider) new(provider.data_time, provider.data_size, provider.data?) end |