Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/sakai-info/hacks.rb,
lib/sakai-info/hacks.rb

Overview

hack to get clobs in sqlite to work correctly

Instance Method Summary collapse

Instance Method Details

#is_uuid?Boolean

Returns:

  • (Boolean)


15
16
17
# 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

#readObject



53
54
55
# File 'lib/sakai-info/hacks.rb', line 53

def read
  self
end