Class: RoCommands::Try

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

Instance Method Summary collapse

Methods inherited from Base

describe, method_added, meths, start, usage

Methods included from Bash

#_bash, #bash, #bash_lines, #bash_per, #bashc, err, #handle_path, out, status

Instance Method Details

#pwdObject



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

def pwd
  Out.out(Dir.pwd)
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