instance method
_start_container
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
_start_container(sym, atts = {}, with_bracket = true)
No documentation comment.
Parameters
-
symreq -
attsopt = {} -
with_bracketopt = 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