struct

Swm::Container

Inherits Struct < Value < Object

Constructors

new(id : String, task : String, node : Node)
Source

Instance methods

clone
Source
copy_with(id _id = @id, task _task = @task, node _node = @node)
Source
exec(command : String, user : String | Nil = nil, no_tty : Bool | Nil = false, output : IO | Nil = nil) : String
Source
id
node
stop
Source
task
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.

Source