Sha256: b7ac8039db9b07429e15141567835b4a327640398600cbcfd35f08734705762e

Contents?: true

Size: 291 Bytes

Versions: 120

Compression:

Stored size: 291 Bytes

Contents

# FeduxOrgStdlib::Command

## Usage

### which

Searches command in PATH. It supports the usage of a full path as well.

```ruby
require 'fedux_org_stdlib/command'

class XY
  include Command

  def method
    cmd_path = which( 'echo' )
    cmd_path = which( '/usr/bin/echo' )
  end
end
```

Version data entries

120 entries across 120 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.10.6 doc/commands.md
fedux_org-stdlib-0.10.5 doc/commands.md
fedux_org-stdlib-0.10.4 doc/commands.md
fedux_org-stdlib-0.10.3 doc/commands.md
fedux_org-stdlib-0.10.2 doc/commands.md
fedux_org-stdlib-0.10.1 doc/commands.md
fedux_org-stdlib-0.10.0 doc/commands.md
fedux_org-stdlib-0.9.8 doc/commands.md
fedux_org-stdlib-0.9.7 doc/commands.md
fedux_org-stdlib-0.9.6 doc/commands.md
fedux_org-stdlib-0.9.5 doc/commands.md
fedux_org-stdlib-0.9.4 doc/commands.md
fedux_org-stdlib-0.9.2 doc/commands.md
fedux_org-stdlib-0.9.1 doc/commands.md
fedux_org-stdlib-0.9.0 doc/commands.md
fedux_org-stdlib-0.8.11 doc/commands.md
fedux_org-stdlib-0.8.10 doc/commands.md
fedux_org-stdlib-0.8.9 doc/commands.md
fedux_org-stdlib-0.8.8 doc/commands.md
fedux_org-stdlib-0.8.7 doc/commands.md