Class: RuboCop::Cop::VariableForce::AssignmentReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#node ⇒ Object

Returns the value of attribute node

Returns:

  • (Object) —

    the current value of node



64
65
66
# File 'lib/rubocop/cop/variable_force.rb', line 64

def node
  @node
end

Instance Method Details

#assignment? ⇒ Boolean

Returns:

  • (Boolean)


65
66
67
# File 'lib/rubocop/cop/variable_force.rb', line 65

def assignment?
  true
end