Class: GithubStats::Datapoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/githubstats/data.rb

Overview

Helper struct for defining datapoints

Instance Attribute Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date


15
16
17
# File 'lib/githubstats/data.rb', line 15

def date
  @date
end

#scoreObject

Returns the value of attribute score


15
16
17
# File 'lib/githubstats/data.rb', line 15

def score
  @score
end