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

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/cop/variable_force.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



58
59
60
# File 'lib/rubocop/cop/variable_force.rb', line 58

def name
  @name
end

Instance Method Details

#assignment?Boolean

Returns:

  • (Boolean)


59
60
61
# File 'lib/rubocop/cop/variable_force.rb', line 59

def assignment?
  false
end