Class: Bixby::Command
- Includes:
- Log, PlatformUtil, ScriptUtil
- Defined in:
- lib/bixby-client/command.rb
Class Method Summary collapse
- .inherited(subclass) ⇒ Object
-
.subclasses ⇒ Array<Class>
retrieve all loaded subclasses of this class.
Instance Method Summary collapse
-
#initialize ⇒ Command
constructor
A new instance of Command.
Methods included from ScriptUtil
#get_json_input, #read_stdin, #systemu
Methods included from ScriptUtil::UseBundle
Methods included from PlatformUtil
Constructor Details
#initialize ⇒ Command
Returns a new instance of Command.
9 10 |
# File 'lib/bixby-client/command.rb', line 9 def initialize() end |
Class Method Details
.inherited(subclass) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/bixby-client/command.rb', line 21 def self.inherited(subclass) if superclass.respond_to? :inherited superclass.inherited(subclass) end @subclasses ||= [] @subclasses << subclass end |
.subclasses ⇒ Array<Class>
retrieve all loaded subclasses of this class
15 16 17 |
# File 'lib/bixby-client/command.rb', line 15 def self.subclasses @subclasses end |