Class: Mutant::AST::Pattern::Source::Location Private

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/ast/pattern/source.rb

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

Instance Method Summary collapse

Instance Method Details

#displayObject

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.



22
23
24
# File 'lib/mutant/ast/pattern/source.rb', line 22

def display
  "#{source.line(line_index)}\n#{prefix}#{carets}"
end