Sha256: d9f86b6d488542b74bef21b068d524c0df609022960695602d4b6461ec4d701f

Contents?: true

Size: 573 Bytes

Versions: 8

Compression:

Stored size: 573 Bytes

Contents

# Derived from https://github.com/thoughtbot/bourbon/blob/v4-stable/lib/bourbon.rb
# Special thanks to the thoughtbot team b/c I had no clue what I was doing
dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)

unless defined?(Sass)
  require 'sass'
end

module Hamburgers
  if defined?(Rails) && defined?(Rails::Engine)
    class Engine < ::Rails::Engine

    end
  end

  hamburgers_path = File.expand_path("../../_sass/hamburgers", __FILE__)
  ENV["SASS_PATH"] = [ENV["SASS_PATH"], hamburgers_path].compact.join(File::PATH_SEPARATOR)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hamburgers-1.1.3 lib/hamburgers.rb
hamburgers-1.1.2 lib/hamburgers.rb
hamburgers-1.1.0 lib/hamburgers.rb
hamburgers-0.9.3 lib/hamburgers.rb
hamburgers-0.9.1 lib/hamburgers.rb
hamburgers-0.9.0 lib/hamburgers.rb
hamburgers-0.8.1 lib/hamburgers.rb
hamburgers-0.7.0 lib/hamburgers.rb