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



7
8
9
# File 'lib/action_text/plain_text_conversion.rb', line 7

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