Class: Krakow::Command::Cls
Overview
Instance Attribute Summary
#response
Class Method Summary
collapse
Instance Method Summary
collapse
#error?, #name, #ok?, response_for
included
level=, #log
Class Method Details
.error ⇒ Object
17
18
19
|
# File 'lib/krakow/command/cls.rb', line 17
def error
%w(E_INVALID)
end
|
.ok ⇒ Object
13
14
15
|
# File 'lib/krakow/command/cls.rb', line 13
def ok
%w(CLOSE_WAIT)
end
|
Instance Method Details
#to_line ⇒ Object
8
9
10
|
# File 'lib/krakow/command/cls.rb', line 8
def to_line
"#{name}\n"
end
|