lib/rubocop/cop/variable_inspector/locatable.rb in rubocop-0.19.1 vs lib/rubocop/cop/variable_inspector/locatable.rb in rubocop-0.20.0

- old
+ new

@@ -22,10 +22,10 @@ def scope fail '#scope must be declared!' end def inside_of_branch? - !branch_point_node.nil? + branch_point_node end def branch_id return nil unless inside_of_branch? @branch_id ||= [branch_point_node.object_id, branch_type].join('_')