Module: ActionText::PlainTextConversion

Extended by:
PlainTextConversion
Included in:
PlainTextConversion
Defined in:
lib/action_text/plain_text_conversion.rb

Instance Method Summary collapse

Instance Method Details

#node_to_plain_text(node) ⇒ Object



9
10
11
# File 'lib/action_text/plain_text_conversion.rb', line 9

def node_to_plain_text(node)
  remove_trailing_newlines(plain_text_for_node(node))
end