Top Level Namespace

Defined Under Namespace

Modules: PinboardLogseq

Instance Method Summary collapse

Instance Method Details

#str_to_bool(str) ⇒ Object



35
36
37
38
39
40
41
# File 'lib/pinboard_logseq/pin.rb', line 35

def str_to_bool(str)
  if str == "yes"
    true
  elsif str == "no"
    false
  end
end