Class: GithubStats::ClosedByWeekReport::Results

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/github_stats/closed_by_week_report.rb

Overview

Provides enumerable access to the results

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Results

Returns a new instance of Results.



57
58
59
# File 'lib/github_stats/closed_by_week_report.rb', line 57

def initialize(data)
  self.data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



53
54
55
# File 'lib/github_stats/closed_by_week_report.rb', line 53

def data
  @data
end

Instance Method Details

#keysObject



61
62
63
# File 'lib/github_stats/closed_by_week_report.rb', line 61

def keys
  [:week_closed, :qty, :velocity]
end