Method: Builder::CSS#initialize
- Defined in:
- lib/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/css.rb
#initialize(indent = 2) ⇒ CSS
Create a CSS builder.
- out
-
Object receiving the markup.1
outmust respond to<<. - indent
-
Number of spaces used for indentation (0 implies no indentation and no line breaks).
101 102 103 104 105 106 |
# File 'lib/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/css.rb', line 101 def initialize(indent=2) @indent = indent @target = [] @parts = [] @library = {} end |