Class: VScripts::Command
- Inherits:
-
Object
- Object
- VScripts::Command
- Defined in:
- lib/vscripts/command.rb
Overview
Main Command class
Class Method Summary collapse
-
.list ⇒ Array
Lists the available commands.
Class Method Details
.list ⇒ Array
Lists the available commands
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 |