Sha256: e918b983299633d625e034711ac973d6e742ba024d3afc3514b11650ab5dd0bd

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

module Rack::App::FrontEnd::InstanceMethods

  def render(template_path, *args, &block)

    full_path = Rack::App::Utils.expand_path(template_path)
    template = Rack::App::FrontEnd::Template.new(full_path, self.class)
    return template.render(self, *args, &block)

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-app-front_end-0.14.0 lib/rack/app/front_end/instance_methods.rb