Module: EacRubyBase0::Runner

Defined in:
lib/eac_ruby_base0/runner.rb,
lib/eac_ruby_base0/runner/test_all.rb

Defined Under Namespace

Classes: TestAll

Instance Method Summary collapse

Instance Method Details

#runObject



20
21
22
23
24
25
26
27
28
29
# File 'lib/eac_ruby_base0/runner.rb', line 20

def run
  on_speaker_node do |node|
    node.stderr = ::StringIO.new if options.fetch('--quiet')
    if options.fetch('--version')
      show_version
    else
      run_with_subcommand
    end
  end
end

#show_versionObject



31
32
33
# File 'lib/eac_ruby_base0/runner.rb', line 31

def show_version
  out(context(:application).version + "\n")
end