Sha256: 0e889fe36bc18771bd496e58198829e75bcfdcf49ccf8899f7185d75bf309ff1
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
module Octopress module Ink module LocalAssets class Sass < LocalAssets::Css def ext file.ext end def path Pathname.new File.join(Octopress.site.source, file.path) end def destination super.sub(/\.s[ca]ss$/, '.css') end def add Plugins.static_files << StaticFileContent.new(compile, destination) end def data file.data end def compile PluginAssetPipeline.compile_sass(self) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems