Sha256: ce121cb654037198e9ddec8adf83a9d6dc6c0245d66775a042758e8f488dc158
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 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| # accept ['file', 'media_type'] if file.is_a? Array add_sass file.first, file.last # accept 'file' else add_sass file end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octopress-ink-1.0.0.alpha.15 | lib/octopress-ink/plugins/sass.rb |