Class: Unparser::CLI::Source::Node

Inherits:
Unparser::CLI::Source show all
Defined in:
lib/unparser/cli/source.rb

Overview

Source passed in as node

Instance Method Summary collapse

Methods inherited from Unparser::CLI::Source

#report, #success?

Methods included from NodeHelpers

#n, #s

Instance Method Details

#original_sourceString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return original source

Returns:



259
260
261
# File 'lib/unparser/cli/source.rb', line 259

def original_source
  Unparser.unparse(original_ast)
end