lib/g11n/translator.rb in g11n-0.0.3 vs lib/g11n/translator.rb in g11n-0.0.4
- old
+ new
@@ -22,9 +22,14 @@
# Sets the path where translations will be looked for
def translations_path= the_path
@translations_path = the_path
end
+
+ # @return [String] the current path to translations
+ def translations_path
+ @translations_path
+ end
# Forwards the method call to the right "dictionary" (a SymbolTable object)
# http://mjijackson.com/2010/04/config-revisited
# What it truely does the #translate method is to retrieve the right SymbolTable object from the
# dictionary