module Octopress module Ink module Assets class Stylesheet < Asset def initialize(plugin, type, file, media) @plugin = plugin @file = file @type = type @media = media || 'all' @root = plugin.assets_path @dir = File.join(plugin.slug, type) @exists = {} file_check end def media m = @media if @file =~ /@(.+?)\./ m = $1 end m end def destination File.join(@dir, @file.sub(/@(.+?)\./,'.')) end def tag "" end end end end end