Flowdock
method

on_heredoc_dedent

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: SexpBuilderPP
on_heredoc_dedent(val, width) private

No documentation

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

Hide source
# File ext/ripper/lib/ripper/sexp.rb, line 115
    def on_heredoc_dedent(val, width)
      val.map! do |e|
        next e if Symbol === e and /_content\z/ =~ e
        if Array === e and e[0] == :@tstring_content
          e = dedent_element(e, width)
        elsif String === e
          dedent_string(e, width)
        end
        e
      end
      val
    end
Register or log in to add new notes.