instance method _special

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

_special(open, close, data=nil, attrs=nil, order=[])

Insert special instruction.

Parameters

open req
close req
data opt = nil
attrs opt = nil
order opt = []
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close