Class: CruiseFace::Model::Pipeline::History

Inherits:
Object
  • Object
show all
Defined in:
lib/cruise_face/pipeline.rb

Defined Under Namespace

Classes: Job, Pipeline, Stage

Instance Method Summary collapse

Constructor Details

#initialize(pipelines) ⇒ History

Returns a new instance of History.



135
136
137
# File 'lib/cruise_face/pipeline.rb', line 135

def initialize(pipelines)
  @pipelines = pipelines
end

Instance Method Details

#collect(&block) ⇒ Object



143
144
145
# File 'lib/cruise_face/pipeline.rb', line 143

def collect(&block)
  @pipelines.collect(&block)
end

#each(&block) ⇒ Object



139
140
141
# File 'lib/cruise_face/pipeline.rb', line 139

def each(&block)
  @pipelines.each(&block)
end