Class: Malt::Format::CSS

Inherits:
Abstract show all
Defined in:
lib/malt/formats/css.rb

Instance Attribute Summary

Attributes inherited from Abstract

#options

Instance Method Summary collapse

Methods inherited from Abstract

#engine, engine, extensions, #extensions, #file, file_extension, #file_read, #file_type, #parse_type_from_data, #refile, register, #render, #render_into, #rendering_parameters, #scope_vs_data, #subtype, #text, #to, #to_default, #to_s, #type, #with, #with!

Instance Method Details

#cssObject


11
12
13
# File 'lib/malt/formats/css.rb', line 11

def css(*)
  text
end

#to_cssObject

CSS is CSS ;)


16
17
18
# File 'lib/malt/formats/css.rb', line 16

def to_css(*)
  self
end