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