instance method
_special
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
_special(open, close, data=nil, attrs=nil, order=[])
Insert special instruction.
Parameters
-
openreq -
closereq -
dataopt = nil -
attrsopt = nil -
orderopt = []
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb, line 275
def _special(open, close, data=nil, attrs=nil, order=[])
_indent
@target << open
@target << data if data
_insert_attributes(attrs, order) if attrs
@target << close
_newline
end
Defined in activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb line 275
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Builder::XmlMarkup