Class: Echowrap::SequencedData
- Defined in:
- lib/echowrap/sequenced_data.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Object
readonly
Returns the value of attribute confidence.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
Instance Method Summary collapse
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Echowrap::Base
Instance Attribute Details
#confidence ⇒ Object (readonly)
Returns the value of attribute confidence.
5 6 7 |
# File 'lib/echowrap/sequenced_data.rb', line 5 def confidence @confidence end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
5 6 7 |
# File 'lib/echowrap/sequenced_data.rb', line 5 def duration @duration end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
5 6 7 |
# File 'lib/echowrap/sequenced_data.rb', line 5 def start @start end |
Instance Method Details
#id ⇒ Object
7 8 9 |
# File 'lib/echowrap/sequenced_data.rb', line 7 def id "#{self.class.to_s.downcase}_#{self.start}" end |