Class: GithubStats::Datapoint
- Inherits:
-
Struct
- Object
- Struct
- GithubStats::Datapoint
- Defined in:
- lib/githubstats/data.rb
Overview
Helper struct for defining datapoints
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#score ⇒ Object
Returns the value of attribute score.
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date
15 16 17 |
# File 'lib/githubstats/data.rb', line 15 def date @date end |
#score ⇒ Object
Returns the value of attribute score
15 16 17 |
# File 'lib/githubstats/data.rb', line 15 def score @score end |