whitespace

whitespace()
Instance Public methods

Evaluates to true if whitespace is respected for this element. This is the case if:

  1. Neither :respect_whitespace nor :compress_whitespace has any value

  2. The context has :respect_whitespace set to :all or an array containing the name of this element, and :compress_whitespace isn't set to :all or an array containing the name of this element.

The evaluation is tested against expanded_name, and so is namespace sensitive.

doc_ruby_on_rails
2015-05-06 12:04:57
Comments
Leave a Comment

Please login to continue.