# File lib/i18n/backend/interpolation_compiler.rb, line 97
97: def interpolate(locale, string, values)
98: if string.respond_to?(:i18n_interpolate)
99: string.i18n_interpolate(values)
100: elsif values
101: super
102: else
103: string
104: end
105: end
# File lib/i18n/backend/interpolation_compiler.rb, line 113
113: def compile_all_strings_in(data)
114: data.each_value do |value|
115: Compiler.compile_if_an_interpolation(value)
116: compile_all_strings_in(value) if value.kind_of?(Hash)
117: end
118: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.