Method: Parser::Source::TreeRewriter#empty?

Defined in:
lib/parser/source/tree_rewriter.rb

#empty?Boolean

Returns true iff no (non trivial) update has been recorded

Returns:

  • (Boolean)

125
126
127
# File 'lib/parser/source/tree_rewriter.rb', line 125

def empty?
  @action_root.empty?
end