instance method
_newline
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
_newline()
No documentation comment.
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb, line 122
def _newline
return if @indent == 0
text! "\n"
end
Defined in activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb line 122
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Builder::XmlBase