Class: GitStats::StatsView::Charts::All
- Inherits:
-
Object
- Object
- GitStats::StatsView::Charts::All
- Defined in:
- lib/git_stats/stats_view/charts/charts.rb
Instance Attribute Summary collapse
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Instance Method Summary collapse
- #activity_charts ⇒ Object
- #authors_charts ⇒ Object
-
#initialize(repo) ⇒ All
constructor
A new instance of All.
- #repo_charts ⇒ Object
Constructor Details
#initialize(repo) ⇒ All
Returns a new instance of All.
20 21 22 |
# File 'lib/git_stats/stats_view/charts/charts.rb', line 20 def initialize(repo) @repo = repo end |
Instance Attribute Details
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
18 19 20 |
# File 'lib/git_stats/stats_view/charts/charts.rb', line 18 def repo @repo end |
Instance Method Details
#activity_charts ⇒ Object
32 33 34 |
# File 'lib/git_stats/stats_view/charts/charts.rb', line 32 def activity_charts @activity_charts ||= Charts::ActivityCharts.new(repo) end |
#authors_charts ⇒ Object
28 29 30 |
# File 'lib/git_stats/stats_view/charts/charts.rb', line 28 def @authors_charts ||= Charts::AuthorsCharts.new(repo.) end |
#repo_charts ⇒ Object
24 25 26 |
# File 'lib/git_stats/stats_view/charts/charts.rb', line 24 def repo_charts @repo_charts ||= Charts::RepoCharts.new(repo) end |