Class: RoCommands::Try

Inherits:
Base show all
Defined in:
lib/ro_commands/try.rb

Instance Method Summary collapse

Methods inherited from Base

describe, inherited, method_added, meths, start, usage

Methods included from Bash

#_bash, #add_time, #bash, #bash_capture, #bash_capture_array, #bash_lines, #bash_per, #bash_system, #bundle_exec, #err, err, #handle_path, #kernel_system, out, #out, #status, status

Instance Method Details

#pwdObject



14
15
16
# File 'lib/ro_commands/try.rb', line 14

def pwd
  Out.out "pwd is #{Dir.pwd}   file:#{::File.basename __FILE__} line:#{__LINE__}"
end

#try_meth(*args) ⇒ Object



7
8
9
10
# File 'lib/ro_commands/try.rb', line 7

def try_meth(*args)
  Out.out "puts try_meth args:#{args.flatten}"
  Out.out "ENV['WORKING']:#{ENV['WORKING']}   ","file:#{File.basename __FILE__} line:#{__LINE__}"
end