Class: Build
- Inherits:
-
Object
- Object
- Build
- Defined in:
- lib/byci.rb
Instance Attribute Summary collapse
-
#_after_jobs ⇒ Object
readonly
Returns the value of attribute _after_jobs.
-
#_before_jobs ⇒ Object
readonly
Returns the value of attribute _before_jobs.
-
#_image ⇒ Object
readonly
Returns the value of attribute _image.
-
#_jobs ⇒ Object
readonly
Returns the value of attribute _jobs.
Class Method Summary collapse
Instance Method Summary collapse
- #after_jobs(*jobs) ⇒ Object
- #before_jobs(*jobs) ⇒ Object
- #image(image_name) ⇒ Object
- #jobs(*jobs) ⇒ Object
Instance Attribute Details
#_after_jobs ⇒ Object (readonly)
Returns the value of attribute _after_jobs.
2 3 4 |
# File 'lib/byci.rb', line 2 def _after_jobs @_after_jobs end |
#_before_jobs ⇒ Object (readonly)
Returns the value of attribute _before_jobs.
2 3 4 |
# File 'lib/byci.rb', line 2 def _before_jobs @_before_jobs end |
#_image ⇒ Object (readonly)
Returns the value of attribute _image.
2 3 4 |
# File 'lib/byci.rb', line 2 def _image @_image end |
#_jobs ⇒ Object (readonly)
Returns the value of attribute _jobs.
2 3 4 |
# File 'lib/byci.rb', line 2 def _jobs @_jobs end |
Class Method Details
.with ⇒ Object
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 |