instance method _start_container

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

_start_container(sym, atts = {}, with_bracket = true)

No documentation comment.

Parameters

sym req
atts opt = {}
with_bracket opt = true
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb, line 235
    def _start_container(sym, atts = {}, with_bracket = true)
      selector = sym.to_s
      selector << ".#{atts[:class]}" if atts && atts[:class]
      selector << '#' + "#{atts[:id]}" if atts && atts[:id]
      @parts << "#{selector}#{with_bracket ? ' {' : ''}"
    end

Defined in activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb line 235 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Builder::CSS

Type at least 2 characters to search.

↑↓ navigate · open · esc close