Class: Build

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#_after_jobsObject (readonly)

Returns the value of attribute _after_jobs.



2
3
4
# File 'lib/byci.rb', line 2

def _after_jobs
  @_after_jobs
end

#_before_jobsObject (readonly)

Returns the value of attribute _before_jobs.



2
3
4
# File 'lib/byci.rb', line 2

def _before_jobs
  @_before_jobs
end

#_imageObject (readonly)

Returns the value of attribute _image.



2
3
4
# File 'lib/byci.rb', line 2

def _image
  @_image
end

#_jobsObject (readonly)

Returns the value of attribute _jobs.



2
3
4
# File 'lib/byci.rb', line 2

def _jobs
  @_jobs
end

Class Method Details

.withObject



4
5
6
# File 'lib/byci.rb', line 4

def self.with
  Build.new
end

Instance Method Details

#after_jobs(*jobs) ⇒ Object



18
19
20
21
# File 'lib/byci.rb', line 18

def after_jobs(*jobs)
  @_after_jobs = jobs
  self
end

#before_jobs(*jobs) ⇒ Object



13
14
15
16
# File 'lib/byci.rb', line 13

def before_jobs(*jobs)
  @_before_jobs = jobs
  self
end

#image(image_name) ⇒ Object



8
9
10
11
# File 'lib/byci.rb', line 8

def image(image_name)
  @_image = image_name
  self
end

#jobs(*jobs) ⇒ Object



23
24
25
26
# File 'lib/byci.rb', line 23

def jobs(*jobs)
  @_jobs = jobs
  self
end