Swm::Container
Inherits Struct < Value < Object
Constructors
new(id : String, task : String, node : Node)
SourceInstance methods
clone
Sourcecopy_with(id _id = @id, task _task = @task, node _node = @node)
Sourceexec(command : String, user : String | Nil = nil, no_tty : Bool | Nil = false, output : IO | Nil = nil) : String
Sourceid
node
stop
Sourcetask
to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.