Sha256: 792c6a8a01d5dbce75d69825aa366d71abb2af1240b2de8be1c7738b043be646

Contents?: true

Size: 885 Bytes

Versions: 2

Compression:

Stored size: 885 Bytes

Contents

require 'active_support/all'
require 'facades/version'

module Facades
  extend self
  autoload :Helpers,  'facades/helpers'
  autoload :Patterns, 'facades/patterns'

  def app_path
    File.expand_path("../../app", __FILE__)
  end
  
  def view_path
    File.join(File.expand_path("../../app", __FILE__), 'views')
  end
  
  def scss_path
    File.join(File.expand_path("../../src", __FILE__), 'scss')
  end
  
  def image_path
    File.join(File.expand_path("../../src", __FILE__), 'images')
  end
  
  def icon_path
    File.join(File.expand_path("../../src", __FILE__), 'icons')
  end
end

require 'facades/config'
require 'facades/sass_extensions'


##
# Use the rails pipeline directly unless functioning 
# in a non-rails environment. Otherwise include the
# compass extension.
# 
if defined?(Rails)
  require 'facades/support/rails'
else
  require 'facades/support/compass'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facades-1.0.9 lib/facades.rb
facades-1.0.8 lib/facades.rb