Class: LibRubyParser::Messages::CantSetVariable

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

Overview

Emitted for code like

$1 = foo

Instance Attribute Summary collapse

Instance Attribute Details

#var_nameString (readonly)

Source of the read-only variable that is assigned

Returns:

  • (String)


704
705
706
# File 'lib/lib-ruby-parser/messages.rb', line 704

def var_name
  @var_name
end