method

node_to_plain_text

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: PlainTextConversion
node_to_plain_text(node) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/plain_text_conversion.rb, line 9
    def node_to_plain_text(node)
      BottomUpReducer.new(node).reduce do |n, child_values|
        plain_text_for_node(n, child_values)
      end.then(&method(:remove_trailing_newlines))
    end
Register or log in to add new notes.