<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -84,6 +84,8 @@ module Gibberish
         interpolate_with_strings(self.value, args)
       end
     end
+    alias_method :to_s, :interpolated_value
+    alias_method :to_str, :interpolated_value
 
     def interpolate_with_hash(string, hash)
       hash.inject(string) do |target, (search, replace)|
@@ -99,14 +101,6 @@ module Gibberish
     def interpolate_with_strings(string, strings)
       string.gsub(/\{\w+\}/) { strings.shift }
     end
-        
-    def to_str
-      interpolated_value
-    end
-    
-    def to_s
-      interpolated_value
-    end
     
     def to_html
       if Translation.suppress_html_wrapper?</diff>
      <filename>lib/gibberish_db.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>aa337e299d4a14e3747805378bd65db5fdee9cc3</id>
    </parent>
  </parents>
  <author>
    <name>Dustin Sallings</name>
    <email>dustin@caring.com</email>
  </author>
  <url>http://github.com/caring/gibberish_db/commit/f29a9a3715153621c32c2cec6e560a4f19e07d14</url>
  <id>f29a9a3715153621c32c2cec6e560a4f19e07d14</id>
  <committed-date>2008-04-24T13:06:34-07:00</committed-date>
  <authored-date>2008-04-24T13:04:31-07:00</authored-date>
  <message>Instead of writing methods for to_s and to_str, just alias them in.</message>
  <tree>75f222402643a28ecc73d42c3b78f35ffdca048a</tree>
  <committer>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </committer>
</commit>
