Sha256: c2567586ceacb7f1a3bde23713d4b4bb1aadc0ffafe3902e4c5049293b4461f6
Contents?: true
Size: 410 Bytes
Versions: 4
Compression:
Stored size: 410 Bytes
Contents
module Evergreen class Template attr_reader :name, :suite def initialize(suite, name) @suite = suite @name = name end def root suite.root end def full_path File.join(root, Evergreen.template_dir, name) end def read File.read(full_path) end alias_method :contents, :read def exist? File.exist?(full_path) end end end
Version data entries
4 entries across 4 versions & 3 rubygems