Class: VScripts::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/vscripts/command.rb

Overview

Main Command class

Class Method Summary collapse

Class Method Details

.listArray

Lists the available commands

Returns:

  • (Array)


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

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