Skip to content
Kward Search API index

Exception: Kward::NativeShell::Flow

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kward/shell/native_runtime.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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