Module: Stylist
- Defined in:
- lib/stylist.rb,
lib/stylist/railtie.rb,
lib/stylist/version.rb,
lib/stylist/processor.rb,
lib/stylist/view_helpers.rb,
lib/stylist/configuration.rb,
lib/stylist/controller_mixin.rb,
lib/stylist/stylesheet_collection.rb,
lib/stylist/processors/less_processor.rb,
lib/stylist/processors/sass_processor.rb,
lib/stylist/processors/yui_compressor_processor.rb
Defined Under Namespace
Modules: ControllerMixin, Processors, VERSION, ViewHelpers Classes: Configuration, Railtie, StylesheetCollection
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
-
.stylesheets ⇒ Object
Returns the value of attribute stylesheets.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/stylist/configuration.rb', line 3 def configuration @configuration end |
.stylesheets ⇒ Object
Returns the value of attribute stylesheets.
11 12 13 |
# File 'lib/stylist.rb', line 11 def stylesheets @stylesheets end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
6 7 8 9 |
# File 'lib/stylist/configuration.rb', line 6 def self.configure self.configuration ||= Configuration.new yield(configuration) end |
.setup! ⇒ Object
13 14 15 16 |
# File 'lib/stylist.rb', line 13 def setup! self.configuration = Configuration.new self.stylesheets = StylesheetCollection.new end |