module Tng::Gtk::Utils

Constants

VERSION

Public Instance Methods

uuid_valid?(uuid) click to toggle source
# File lib/tng/gtk/utils.rb, line 6
def uuid_valid?(uuid)
  return true if (uuid =~ /[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}/) == 0
  false
end