Class: Krakow::Command::Rdy
- Inherits:
-
Krakow::Command
- Object
- Krakow::Command
- Krakow::Command::Rdy
- Defined in:
- lib/krakow/command/rdy.rb
Overview
Update RDY state
Instance Attribute Summary (collapse)
-
- (Krakow::FrameType) response
inherited
from Krakow::Command
Response to command.
Attributes (collapse)
-
- (Integer) count
The count attribute.
-
- (TrueClass, FalseClass) count?
Truthiness of the count attribute.
Class Method Summary (collapse)
Instance Method Summary (collapse)
Instance Attribute Details
- (Krakow::FrameType) response Originally defined in class Krakow::Command
Returns response to command
Class Method Details
+ (Object) error
24 25 26 |
# File 'lib/krakow/command/rdy.rb', line 24 def error %w(E_INVALID) end |
Instance Method Details
- (Integer) count
Returns the count attribute
15 |
# File 'lib/krakow/command/rdy.rb', line 15 attribute :count, Integer, :required => true |
- (TrueClass, FalseClass) count?
Returns truthiness of the count attribute
15 |
# File 'lib/krakow/command/rdy.rb', line 15 attribute :count, Integer, :required => true |
- (Object) to_line
19 20 21 |
# File 'lib/krakow/command/rdy.rb', line 19 def to_line "#{name} #{count}\n" end |