Class: PactBroker::Domain::EagerTagWithLatestFlag
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- PactBroker::Domain::EagerTagWithLatestFlag
- Defined in:
- lib/pact_broker/domain/version.rb
Overview
Same attributes as PactBroker::Tags::TagWithLatestFlag
Instance Attribute Summary collapse
-
#latest ⇒ Object
readonly
Returns the value of attribute latest.
Instance Method Summary collapse
-
#initialize(tag, latest) ⇒ EagerTagWithLatestFlag
constructor
A new instance of EagerTagWithLatestFlag.
- #latest? ⇒ Boolean
Constructor Details
#initialize(tag, latest) ⇒ EagerTagWithLatestFlag
Returns a new instance of EagerTagWithLatestFlag.
14 15 16 17 |
# File 'lib/pact_broker/domain/version.rb', line 14 def initialize(tag, latest) super(tag) @latest = latest end |
Instance Attribute Details
#latest ⇒ Object (readonly)
Returns the value of attribute latest.
12 13 14 |
# File 'lib/pact_broker/domain/version.rb', line 12 def latest @latest end |
Instance Method Details
#latest? ⇒ Boolean
19 20 21 |
# File 'lib/pact_broker/domain/version.rb', line 19 def latest? latest end |