Permalink
Browse files

Remove whitespaces

  • Loading branch information...
1 parent 446c882 commit b34a42a213718c4189bc58884071b3699b82bd0d @lifo lifo committed Apr 27, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 app/models/tolk/translation.rb
@@ -33,11 +33,11 @@ def primary_translation
end
end
end
-
+
def text=(value)
super unless value.to_s == text
end
-
+
def value
if text.is_a?(String) && /^\d+$/.match(text)
text.to_i
@@ -56,12 +56,12 @@ def fix_text_type
rescue ArgumentError
nil
end
-
+
end
-
+
self.text = nil if primary_translation.text.class != self.text.class
end
-
+
true
end

0 comments on commit b34a42a

Please sign in to comment.