Parent

Methods

Files

CSSPool::Visitors::ToCSS

Public Class Methods

new() click to toggle source

(Not documented)

# File lib/csspool/visitors/to_css.rb, line 4
      def initialize
        @indent_level = 0
        @indent_space = '  '
      end

Private Instance Methods

indent() click to toggle source

(Not documented)

# File lib/csspool/visitors/to_css.rb, line 190
      def indent
        if block_given?
          @indent_level += 1
          result = yield
          @indent_level -= 1
          return result
        end
        "#{@indent_space * @indent_level}"
      end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.