Module: RubyWasmUi::Utils::Strings

Defined in:
lib/ruby_wasm_ui/runtime/utils/strings.rb

Class Method Summary collapse

Class Method Details

.is_not_blank_or_empty_string(str) ⇒ Boolean



14
15
16
# File 'lib/ruby_wasm_ui/runtime/utils/strings.rb', line 14

def is_not_blank_or_empty_string(str)
  is_not_empty_string(str.strip)
end

.is_not_empty_string(str) ⇒ Boolean



8
9
10
# File 'lib/ruby_wasm_ui/runtime/utils/strings.rb', line 8

def is_not_empty_string(str)
  str != ""
end