Module: Ask::Tools::Shell

Defined in:
lib/ask/tools/shell.rb,
lib/ask/tools/shell/version.rb

Overview

Collection point for shell tools.

Ask::Tools::Shell.all  # => [Bash, Read, Write, ...] instances

Constant Summary collapse

TOOLS =
[Bash, Read, Write, Edit, Glob, Grep, Code].freeze
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.allArray<Ask::Tool>

Return an instance of every registered shell tool.

Returns:

  • (Array<Ask::Tool>)


15
16
17
# File 'lib/ask/tools/shell.rb', line 15

def self.all
  TOOLS.map(&:new)
end