class String

extensions to other objects

hack to get clobs in sqlite to work correctly

Public Instance Methods

is_uuid?() click to toggle source
# File lib/sakai-info/hacks.rb, line 15
def is_uuid?
  self =~ /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i
end
read() click to toggle source
# File lib/sakai-info/hacks.rb, line 53
def read
  self
end