# File lib/i18n/tests/interpolation.rb, line 109 109: def capture(stream) 110: begin 111: stream = stream.to_s 112: eval "$#{stream} = StringIO.new" 113: yield 114: result = eval("$#{stream}").string 115: ensure 116: eval("$#{stream} = #{stream.upcase}") 117: end 118: 119: result 120: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.