Top Level Namespace

Defined Under Namespace

Modules: Compass Classes: NilClass, String

Instance Method Summary collapse

Instance Method Details

#assert_sass_version(obj) ⇒ Object



4
5
6
7
8
# File 'lib/compass.rb', line 4

def assert_sass_version(obj)
  unless obj.respond_to?(:version) && obj.version[:major] == 2 && obj.version[:minor] >= 1
    raise LoadError.new("Compass requires Haml version 2.1 or greater.")
  end
end