Class: LibRubyParser::Messages::CantSetVariable
- Inherits:
-
DiagnosticMessage
- Object
- DiagnosticMessage
- LibRubyParser::Messages::CantSetVariable
- Defined in:
- lib/lib-ruby-parser/messages.rb
Overview
Emitted for code like
$1 = foo
Instance Attribute Summary collapse
-
#var_name ⇒ String
readonly
Source of the read-only variable that is assigned.
Instance Attribute Details
#var_name ⇒ String (readonly)
Source of the read-only variable that is assigned
704 705 706 |
# File 'lib/lib-ruby-parser/messages.rb', line 704 def var_name @var_name end |