lib/groovy.rb in groovy-0.4.1 vs lib/groovy.rb in groovy-0.4.2
- old
+ new
@@ -1,7 +1,15 @@
require 'groonga'
require File.expand_path(File.dirname(__FILE__)) + '/groovy/model'
+# overwrite Groonga::Record#inspect because the #attributes part is
+# making debugging take ages
+class Groonga::Record
+ def inspect
+ super
+ end
+end
+
module Groovy
class Error < StandardError; end
class ContextNotFound < Error; end
class ContextAlreadyClosed < Error; end