Methods

Files

Padrino::Helpers::OutputHelpers::SinatraCurrentEngine

Module used to detect the current engine in vanilla sinatra apps. @private

Attributes

current_engine[R]

Public Instance Methods

render(engine, *) click to toggle source
# File lib/padrino-helpers/output_helpers.rb, line 18
def render(engine, *) # @private
  @current_engine, engine_was = engine, @current_engine
  output = super
  @current_engine = engine_was
  output
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.