Sha256: c76ed970ff32d380d60753bd8bce12da9662c0da1e6e4d5016875136f32a79af

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 Bytes

Contents

module Oldskool
  module Utils
    include Rack::Utils

    def plugin_template(template, relative)
      File.read(File.expand_path("../../../views/#{template}.erb", relative))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oldskool-0.0.1 lib/oldskool/utils.rb