Module: ActionText::PlainTextConversion

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

Instance Method Summary collapse

Instance Method Details

#node_to_plain_text(node) ⇒ Object



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

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