Sha256: b9f3db1e5d55f12820f57cda92f5b26779e4cfccf870a9ba6c127239a085f376
Contents?: true
Size: 538 Bytes
Versions: 10
Compression:
Stored size: 538 Bytes
Contents
require 'sprite/styles/sass_generator' require 'sprite/styles/css_generator' require 'sprite/styles/sass_yml_generator' require 'sprite/styles/sass_mixin_generator' require 'sprite/styles/templated_css_generator' module Sprite::Styles GENERATORS = { "css" => "CssGenerator", "templated_css" => "TemplatedCssGenerator", "sass" => "SassGenerator", "sass_mixin" => "SassMixinGenerator", "sass_yml" => "SassYmlGenerator" } def self.get(config) const_get(GENERATORS[config]) rescue CssGenerator end end
Version data entries
10 entries across 10 versions & 2 rubygems