Class: SameSame::DataPoint
- Inherits:
-
Struct
- Object
- Struct
- SameSame::DataPoint
- Defined in:
- lib/same_same/data_point.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
2 3 4 |
# File 'lib/same_same/data_point.rb', line 2 def data @data end |
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/same_same/data_point.rb', line 2 def id @id end |
Instance Method Details
#empty? ⇒ Boolean
3 4 5 |
# File 'lib/same_same/data_point.rb', line 3 def empty? data.empty? end |
#size ⇒ Object
7 8 9 |
# File 'lib/same_same/data_point.rb', line 7 def size data.size end |