Sha256: a3a0f2bfcec38a7a61e829c2ea555a0565a123b0b0d8e73f20c3269d657321e0

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

require_relative "base"

module RoCommands
  class Try < Base
    desc usage("try_meth"), ""

    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

    desc usage("pwd"), ""

    def pwd
      Out.out(Dir.pwd)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ro_commands-0.0.3 lib/ro_commands/try.rb
ro_commands-0.0.2 lib/ro_commands/try.rb