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.
13 14 15 16 |
# File 'lib/pact_broker/domain/version.rb', line 13 def initialize(tag, latest) super(tag) @latest = latest end |
Instance Attribute Details
#latest ⇒ Object (readonly)
Returns the value of attribute latest.
11 12 13 |
# File 'lib/pact_broker/domain/version.rb', line 11 def latest @latest end |
Instance Method Details
#latest? ⇒ Boolean
18 19 20 |
# File 'lib/pact_broker/domain/version.rb', line 18 def latest? latest end |