Class: Massimo::Stylesheet

Inherits:
Resource show all
Defined in:
lib/massimo/stylesheet.rb

Instance Attribute Summary

Attributes inherited from Resource

#content, #source_path

Instance Method Summary collapse

Methods inherited from Resource

all, #extensions, #filename, find, #initialize, #output_path, path, #process, processable?, #render, resource_name, url, #url

Constructor Details

This class inherits a constructor from Massimo::Resource

Instance Method Details

#extensionObject



5
6
7
8
9
10
11
# File 'lib/massimo/stylesheet.rb', line 5

def extension
  if Tilt.registered?(super[1..-1])
    '.css'
  else
    super
  end
end