Class: Papercat::Stylesheet
- Defined in:
- app/models/papercat/stylesheet.rb
Constant Summary collapse
- YUI_JAR_FILE =
"#{Papercat::Engine.root}/vendor/yuicompressor-2.4.8.jar"
- COMPRESSOR =
YUI::CssCompressor.new({jar_file: YUI_JAR_FILE})
Instance Method Summary collapse
Methods inherited from Document
Instance Method Details
#as_json(options = {}) ⇒ Object
17 18 19 |
# File 'app/models/papercat/stylesheet.rb', line 17 def as_json = {} super(.update(methods: [:pathname, :source], except: [:data])) end |