Method: Wukong::Local::LocalRunner#dataflow
- Defined in:
- lib/wukong/local/runner.rb
#dataflow ⇒ String Also known as: processor
Returns the name of the dataflow we're going to run.
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/wukong/local/runner.rb', line 49 def dataflow arg = args.first basename = File.basename(arg.to_s, '.rb') case when settings[:run] then settings[:run] when arg && File.exist?(arg) then basename else arg end end |