module Alephant::Preview::Template

Public Class Methods

path() click to toggle source
# File lib/alephant/preview/template.rb, line 7
def self.path
  ENV['PREVIEW_TEMPLATE_PATH'] || "#{Dir.pwd}/components/lib"
end
update(template_location) click to toggle source
# File lib/alephant/preview/template.rb, line 11
def self.update(template_location)
  Updater.new.update(template_location)
end