Class: Swift::Playground::Stylesheet
- Defined in:
- lib/swift/playground/assets/stylesheet.rb
Instance Attribute Summary
Attributes inherited from Asset
Instance Method Summary collapse
Methods inherited from Asset
Methods included from Util::PathOrContent
Constructor Details
This class inherits a constructor from Swift::Playground::Asset
Instance Method Details
#save(destination_path, number) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/swift/playground/assets/stylesheet.rb', line 8 def save(destination_path, number) save_content self.content = Sass.compile(content) super(destination_path, number) restore_content end |