Sha256: a45682931eb4d7445b3d30a4210dea7cbbb95001038d09668fbc943b40ea8890

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

module Rack::App::FrontEnd::Helpers

  def render(template_path, variables={}, options={}, &block)
    full_path = Rack::App::Utils.expand_path(template_path)
    template = Rack::App::FrontEnd::Template.new(full_path,options)
    return template.render(self, variables, &block)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rack-app-front_end-0.17.0 lib/rack/app/front_end/helpers.rb
rack-app-front_end-0.16.0 lib/rack/app/front_end/helpers.rb
rack-app-front_end-0.15.1 lib/rack/app/front_end/helpers.rb
rack-app-front_end-0.15.0 lib/rack/app/front_end/helpers.rb