Sha256: 93698286aa93d5bf416bfadbca133a01440ae55f7708cc45105a075dce820c90
Contents?: true
Size: 272 Bytes
Versions: 20
Compression:
Stored size: 272 Bytes
Contents
# encoding: utf-8 module TestServer class TemplateFile attr_reader :path def initialize(path) @path = ::File.expand_path(path) end def name ::File.basename(path, '.*').to_sym end def read ::File.read(path) end end end
Version data entries
20 entries across 20 versions & 1 rubygems