Module: Sinatra::Compass::InstanceMethods

Defined in:
lib/sinatra/compass.rb

Instance Method Summary collapse

Instance Method Details

#compass(file, options = {}) ⇒ Object



25
26
27
28
# File 'lib/sinatra/compass.rb', line 25

def compass(file, options = {})
  options.merge! ::Compass.sass_engine_options
  sass file, options
end

#stylesheet(name) ⇒ Object



30
31
32
# File 'lib/sinatra/compass.rb', line 30

def stylesheet(name)
  settings.compass_prefix / "#{name}.css"
end