Exception: Kward::NativeShell::Flow
- Inherits:
-
StandardError
- Object
- StandardError
- Kward::NativeShell::Flow
- Defined in:
- lib/kward/shell/native_runtime.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#levels ⇒ Object
Returns the value of attribute levels.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(kind, status, levels: 1) ⇒ Flow
constructor
A new instance of Flow.
Constructor Details
#initialize(kind, status, levels: 1) ⇒ Flow
Returns a new instance of Flow.
28 29 30 31 32 33 |
# File 'lib/kward/shell/native_runtime.rb', line 28 def initialize(kind, status, levels: 1) @levels = levels @kind = kind @status = status super(kind.to_s) end |
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
25 26 27 |
# File 'lib/kward/shell/native_runtime.rb', line 25 def kind @kind end |
#levels ⇒ Object
Returns the value of attribute levels.
26 27 28 |
# File 'lib/kward/shell/native_runtime.rb', line 26 def levels @levels end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
25 26 27 |
# File 'lib/kward/shell/native_runtime.rb', line 25 def status @status end |