Class: CruiseControl::ProjectProxy

Inherits:
Hash
  • Object
show all
Defined in:
lib/cruise_control/project_proxy.rb

Instance Method Summary collapse

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

Returns:

  • (Boolean)


10
11
12
# File 'lib/cruise_control/project_proxy.rb', line 10

def pass?
  self['description'] == 'Build passed'
end