Sha256: 074bf6fd90889c67f0369599bacc8664013e5b9d5896fbbcc4677372d90d0fd3

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 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,
    assets:   File.expand_path('assets', root),
    skeleton: File.expand_path('skeleton', root)
  }.to_struct.freeze

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

  require 'tmpdir'
  # @todo TODO allow configuration?
  DATA_DIR = Dir.tmpdir

  # File extension for solution files.
  SOLUTION_EXT = '.sol'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aladdin-0.0.6 lib/aladdin/constants.rb