lib/og/relation.rb in og-0.25.0 vs lib/og/relation.rb in og-0.26.0
- old
+ new
@@ -91,10 +91,14 @@
# This method is implemented in subclasses.
def enchant
end
+ def to_s
+ @options[:target_name]
+ end
+
# Access the hash values as methods.
def method_missing(sym, *args)
return @options[sym]
end
@@ -318,6 +322,6 @@
end
end
-# * George Moschovitis <gm@navel.gr>
\ No newline at end of file
+# * George Moschovitis <gm@navel.gr>