Sha256: cd6ff757e23c5a5124d7253cd79cd0f3c9734020aa311b6097116d8fbf64915a

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

# The sass assets for this plugin are populated at runtime by the add_static_files method of
# the Plugins module.
#
module Octopress
  class SassPlugin < Octopress::Plugin
    def add_files(files)
      files = [files] unless files.is_a? Array
      files.each do |file|
        if file.is_a? Array
          add_sass file.first, file.last
        else
          add_sass file
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.14 lib/octopress-ink/plugins/sass.rb
octopress-ink-1.0.0.alpha.13 lib/octopress-ink/plugins/sass.rb
octopress-ink-1.0.0.alpha.12 lib/octopress-ink/plugins/sass.rb