This PR addresses the NoMethodError issue mentioned in #38:
undefined method `lap' for an instance of Fit4Ruby::Activity
... by fixing a typo: activity.lap should be activity.laps
It also fixes another minor issue with the fatal error message:
Session references lap 0 which is not contained in
... by correcting the line continuation.
Note that this PR doesn't address the "empty enumerator" issue yet, so in and of itself it doesn't really fix much, but I will issue a separate PR to fix the enumeration logic ... thanks, @scrapper !
This PR addresses the
NoMethodError
issue mentioned in #38:... by fixing a typo:
activity.lap
should beactivity.laps
It also fixes another minor issue with the fatal error message:
... by correcting the line continuation.
Note that this PR doesn't address the "empty enumerator" issue yet, so in and of itself it doesn't really fix much, but I will issue a separate PR to fix the enumeration logic ... thanks, @scrapper !