class Bixby::App::Command
Public Class Methods
command_name(str=nil)
click to toggle source
# File lib/bixby-client/app/command.rb, line 6 def self.command_name(str=nil) @command_name = str if !str.nil? @command_name ||= self.name.split(/::/).last.downcase end
desc(str=nil)
click to toggle source
# File lib/bixby-client/app/command.rb, line 11 def self.desc(str=nil) @desc = str if !str.nil? @desc end
match(str)
click to toggle source
# File lib/bixby-client/app/command.rb, line 16 def self.match(str) command_name == str end
options()
click to toggle source
# File lib/bixby-client/app/command.rb, line 20 def self.options end