Class: RuboCop::Cop::VariableForce::VariableReference Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/cop/variable_force.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 Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



71
72
73
# File 'lib/rubocop/cop/variable_force.rb', line 71

def name
  @name
end

Instance Method Details

#assignment? ⇒ Boolean

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.

Returns:

  • (Boolean)


72
73
74
# File 'lib/rubocop/cop/variable_force.rb', line 72

def assignment?
  false
end