Class: Polyamory::Runner::BundlerJob
- Inherits:
-
Struct
- Object
- Struct
- Polyamory::Runner::BundlerJob
- Defined in:
- lib/polyamory/runner.rb
Instance Attribute Summary collapse
-
#job ⇒ Object
Returns the value of attribute job.
Instance Method Summary collapse
Instance Attribute Details
#job ⇒ Object
Returns the value of attribute job
55 56 57 |
# File 'lib/polyamory/runner.rb', line 55 def job @job end |
Instance Method Details
#env ⇒ Object
56 |
# File 'lib/polyamory/runner.rb', line 56 def env() job.env end |
#to_exec ⇒ Object
57 |
# File 'lib/polyamory/runner.rb', line 57 def to_exec() ['bundle', 'exec', *job.to_exec] end |
#to_s ⇒ Object
58 |
# File 'lib/polyamory/runner.rb', line 58 def to_s() "bundle exec #{job.to_s}" end |