Sha256: c17d68110c77c02451ea7ebecc4ba902c03eb037f0da822004f935b4074b00a8

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

# ~*~ encoding: utf-8 ~*~
require 'aladdin/support/core_ext/hash'

module Aladdin

  root = File.expand_path('../../..', __FILE__)

  # Paths to other parts of the library.
  PATHS = {
    root:     root,
    public:   File.expand_path('public', root),
    skeleton: File.expand_path('skeleton', root)
  }.to_struct.freeze

  # Paths to different types of views.
  VIEWS = {
    haml:     File.expand_path('views/haml', root),
    default:  File.expand_path('views', root)
  }

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aladdin-0.2 lib/aladdin/constants.rb
aladdin-0.1.0.pre.1 lib/aladdin/constants.rb
aladdin-0.1.0.pre lib/aladdin/constants.rb