Add custom getters for each available variable for a given Datapoint:
# now
datapoint["Speed"] # => 213
# target
datapoint.speed # => 213
We could also take this opportunity to memoize the result of reading variable from the IO stream
Have a custom error raised if a variable called on a datapoint does not exist.
Add custom getters for each available variable for a given Datapoint:
We could also take this opportunity to memoize the result of reading variable from the IO stream
Have a custom error raised if a variable called on a datapoint does not exist.