Sha256: c739a7ede521368c495bc54dc0b04a8dd8b20b9cb4105de86d8c00c10a1f050b

Contents?: true

Size: 864 Bytes

Versions: 5

Compression:

Stored size: 864 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/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

5 entries across 5 versions & 1 rubygems

Version Path
facades-1.0.6 lib/facades.rb
facades-1.0.4 lib/facades.rb
facades-1.0.3 lib/facades.rb
facades-1.0.2 lib/facades.rb
facades-1.0.1 lib/facades.rb