lib/jekyll/compass/generator.rb
# Event handler triggered when Compass creates a new stylesheet
#
# @param filename [String] The name of the created stylesheet.
# @return [void]

Event handler triggered when Compass creates a new stylesheet
Event handler triggered when Compass creates a new stylesheet
def on_stylesheet_saved(filename)
        source = real_destination
        @site.static_files <<
            CompassFile.new(
                @site,
                source,
                File.dirname(filename)[source.length..-1],
                File.basename(filename)
            )
        nil
      end
def on_stylesheet_saved ( filename ) source = real_destination @site . static_files << CompassFile . new ( @site , source , File . dirname ( filename ) [ source . length .. - 1 ] , File . basename ( filename ) ) nil end
Event handler triggered when Compass creates a new stylesheet
Event handler triggered when Compass creates a new stylesheet
None
void
filename
The name of the created stylesheet.
The name of the created stylesheet .