Module: VScripts::Commands

Defined in:
lib/vscripts/commands.rb,
lib/vscripts/commands/identify.rb,
lib/vscripts/commands/tags2facts.rb

Overview

Commands module

Defined Under Namespace

Classes: Identify, Tags2facts

Class Method Summary collapse

Class Method Details

.listArray

Returns the available commands.

Returns:

  • (Array)

    the available commands



8
9
10
11
12
# File 'lib/vscripts/commands.rb', line 8

def self.list
  VScripts::Commands.constants.select do |cls|
    VScripts::Commands.const_get(cls).is_a? Class
  end
end