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