Sha256: 935ca3fec17e91eb36d2e882cb28655c7e5624d6f574931d9d2af6c12c2f150a

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

require "alephant/preview/template/base"
require "alephant/preview/template/updater"

module Alephant
  module Preview
    module Template
      def self.path
        ENV["PREVIEW_TEMPLATE_PATH"] || "#{Dir.pwd}/components/lib"
      end

      def self.update(template_location)
        Updater.new.update(template_location)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alephant-preview-0.5.3 lib/alephant/preview/template.rb
alephant-preview-0.5.2 lib/alephant/preview/template.rb
alephant-preview-0.5.1 lib/alephant/preview/template.rb
alephant-preview-0.5.0 lib/alephant/preview/template.rb
alephant-preview-0.4.0 lib/alephant/preview/template.rb