Sha256: febba7a31ec73fbf857c180b4a37d0c29a12c42581a5469bf4f6f933742229a7

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

require 'elzar/version'
require 'elzar/template'
require 'elzar/assistant'
require 'multi_json'

module Elzar
  ROOT_DIR = File.expand_path File.dirname(__FILE__) + '/../'

  def self.templates_dir
    @templates_dir ||= "#{ROOT_DIR}/lib/elzar/templates"
  end

  def self.create_provision_directory(destination, options={})
    Assistant.create_user_provision_dir destination.to_s
    Assistant.generate_files destination.to_s, options
  end

  def self.merge_and_create_temp_directory(user_dir)
    Assistant.merge_and_create_temp_directory user_dir
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elzar-0.0.1 lib/elzar.rb