Module: RbbCode::BlockquoteLineNode

Defined in:
lib/rbbcode/node_extensions.rb

Instance Method Summary collapse

Instance Method Details

#post_breaksObject

Returns the number of line breaks after this line. May be zero for the final line, since there doesn’t have to be a break before [/quote].



109
110
111
# File 'lib/rbbcode/node_extensions.rb', line 109

def post_breaks
  breaks.elements.length
end