Class: AboutPage::GitLog
- Inherits:
-
Configuration::Node
- Object
- Configuration::Node
- AboutPage::GitLog
- Defined in:
- lib/about_page/git_log.rb
Instance Attribute Summary collapse
-
#commits ⇒ Object
readonly
Returns the value of attribute commits.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ GitLog
constructor
A new instance of GitLog.
- #to_h ⇒ Object
Methods inherited from Configuration::Node
#add_header, #expects, #messages, #preflight, render_with, #set_headers!
Constructor Details
Instance Attribute Details
#commits ⇒ Object (readonly)
Returns the value of attribute commits.
5 6 7 |
# File 'lib/about_page/git_log.rb', line 5 def commits @commits end |
Instance Method Details
#to_h ⇒ Object
27 28 29 |
# File 'lib/about_page/git_log.rb', line 27 def to_h commits end |