Class: LibRubyParser::Messages::ComparisonAfterComparison

Inherits:
DiagnosticMessage show all
Defined in:
lib/lib-ruby-parser/messages.rb

Overview

Emitted for code like (only in $VERBOSE mode)

a < b < c

Instance Attribute Summary collapse

Instance Attribute Details

#comparisonString (readonly)

Source of the first comparison

Returns:

  • (String)


596
597
598
# File 'lib/lib-ruby-parser/messages.rb', line 596

def comparison
  @comparison
end