Module: OllamaChat::Switches::CheckSwitch

Extended by:
Tins::Concern
Included in:
CombinedSwitch, Switch
Defined in:
lib/ollama_chat/switches.rb

Instance Method Summary collapse

Instance Method Details

#off?Boolean

Returns:

  • (Boolean)

9
10
11
# File 'lib/ollama_chat/switches.rb', line 9

def off?
  !on?
end

#showObject


13
14
15
# File 'lib/ollama_chat/switches.rb', line 13

def show
  STDOUT.puts @msg[value]
end