Class: CruiseControl::ProjectProxy
- Inherits:
-
Hash
- Object
- Hash
- CruiseControl::ProjectProxy
- Defined in:
- lib/cruise_control/project_proxy.rb
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ProjectProxy
constructor
A new instance of ProjectProxy.
-
#pass? ⇒ Boolean
Returns true if the current build of this project was successfull.
Constructor Details
#initialize(hash = {}) ⇒ ProjectProxy
Returns a new instance of ProjectProxy.
5 6 7 |
# File 'lib/cruise_control/project_proxy.rb', line 5 def initialize(hash = {}) super(hash) end |
Instance Method Details
#pass? ⇒ Boolean
Returns true if the current build of this project was successfull
10 11 12 |
# File 'lib/cruise_control/project_proxy.rb', line 10 def pass? self['description'] == 'Build passed' end |