Method: OSC::Machete::Job#path
- Defined in:
- lib/osc/machete/job.rb
#path ⇒ String?
Returns job directory or nil if instance wasn’t initialized with a script.
106 107 108 |
# File 'lib/osc/machete/job.rb', line 106 def path Pathname.new(@script_path).dirname if @script_path end |