class Rack::App::FrontEnd::Template::DefaultTemplate
Public Class Methods
new(file_path)
click to toggle source
# File lib/rack/app/front_end/template/default_template.rb, line 3 def initialize(file_path) @file_path = file_path end
Public Instance Methods
render(*args)
click to toggle source
# File lib/rack/app/front_end/template/default_template.rb, line 7 def render(*args) File.read(@file_path) end