Class: PrChangelog::Releases
- Inherits:
-
Object
- Object
- PrChangelog::Releases
- Defined in:
- lib/pr_changelog/releases.rb
Instance Attribute Summary collapse
-
#git_proxy ⇒ Object
readonly
Returns the value of attribute git_proxy.
Instance Method Summary collapse
-
#initialize(git_proxy = GitProxy.new) ⇒ Releases
constructor
A new instance of Releases.
- #last_release ⇒ Object
- #last_release_pair ⇒ Object
Constructor Details
Instance Attribute Details
#git_proxy ⇒ Object (readonly)
Returns the value of attribute git_proxy.
5 6 7 |
# File 'lib/pr_changelog/releases.rb', line 5 def git_proxy @git_proxy end |
Instance Method Details
#last_release ⇒ Object
11 12 13 |
# File 'lib/pr_changelog/releases.rb', line 11 def last_release .last end |
#last_release_pair ⇒ Object
15 16 17 |
# File 'lib/pr_changelog/releases.rb', line 15 def last_release_pair .last(2) end |