Sha256: 3baff4b2887582a1f3d88581dc26758ea0dc4687b6732d8f0da595db49b0f7aa

Contents?: true

Size: 353 Bytes

Versions: 19

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

19 entries across 19 versions & 1 rubygems

Version Path
alephant-preview-0.6.1 lib/alephant/preview/template.rb
alephant-preview-0.6.0 lib/alephant/preview/template.rb
alephant-preview-0.3.9 lib/alephant/preview/template.rb
alephant-preview-0.3.8 lib/alephant/preview/template.rb
alephant-preview-0.3.7 lib/alephant/preview/template.rb
alephant-preview-0.3.6 lib/alephant/preview/template.rb
alephant-preview-0.3.5 lib/alephant/preview/template.rb
alephant-preview-0.3.4 lib/alephant/preview/template.rb
alephant-preview-0.3.3 lib/alephant/preview/template.rb
alephant-preview-0.3.2 lib/alephant/preview/template.rb
alephant-preview-0.3.1 lib/alephant/preview/template.rb
alephant-preview-0.3.0 lib/alephant/preview/template.rb
alephant-preview-0.2.0 lib/alephant/preview/template.rb
alephant-preview-0.1.2 lib/alephant/preview/template.rb
alephant-preview-0.1.1 lib/alephant/preview/template.rb
alephant-preview-0.1.0 lib/alephant/preview/template.rb
alephant-preview-0.0.7 lib/alephant/preview/template.rb
alephant-preview-0.0.6 lib/alephant/preview/template.rb
alephant-preview-0.0.5.4 lib/alephant/preview/template.rb