class XBee::ATCommands::CommandDescriptor
Attributes
command[R]
command_description[R]
command_name[R]
parameter[R]
Public Class Methods
new(command, command_name, command_description = nil, parameter = nil) { |self| ... }
click to toggle source
# File lib/ruxbee/at_commands.rb, line 12 def initialize (command, command_name, command_description = nil, parameter = nil) @command = command @command_name = command_name @command_description = command_description @parameter = parameter yield self if block_given? end
Public Instance Methods
has_parameter?()
click to toggle source
# File lib/ruxbee/at_commands.rb, line 20 def has_parameter? parameter.nil? end