# File lib/web_console/helper.rb, line 11 def console(binding = nil) raise DoubleRenderError if request.env['web_console.binding'] request.env['web_console.binding'] = binding || ::Kernel.binding.of_caller(1) # Make sure nothing is rendered from the view helper. Otherwise # you're gonna see unexpected #<Binding:0x007fee4302b078> in the # templates. nil end