Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
simple_ssh
v1.0.0
SimpleSsh
Error
Response
Built with Crystal 1.9.2
2023-10-08 13:29:10 UTC
struct
SimpleSsh::Response
SimpleSsh::Response
Struct
Value
Object
Defined in:
simple_ssh/response.cr
Constructors
.new
(status : Process::Status, output =
nil
, error =
nil
)
.new
(response : Array)
.new
(status, output =
nil
, error =
nil
)
Instance Method Summary
#error
: String | Nil
#output
: String | Nil
#status
: Process::Status
Constructor Detail
def self.
new
(status : Process::Status, output =
nil
, error =
nil
)
#
[
View source
]
def self.
new
(response : Array)
#
[
View source
]
def self.
new
(status, output =
nil
, error =
nil
)
#
[
View source
]
Instance Method Detail
def
error
: String | Nil
#
[
View source
]
def
output
: String | Nil
#
[
View source
]
def
status
: Process::Status
#
[
View source
]