lib/pelusa/lint/instance_variables.rb in pelusa-0.2.3 vs lib/pelusa/lint/instance_variables.rb in pelusa-0.2.4

- old
+ new

@@ -25,10 +25,10 @@ Pelusa.configuration['InstanceVariables'].fetch('limit', 3) end def iterate_lines!(klass) ClassAnalyzer.walk(klass) do |node| - if node.is_a?(Rubinius::AST::InstanceVariableAccess) || node.is_a?(Rubinius::AST::InstanceVariableAssignment) + if node.is_a?(Rubinius::ToolSets::Runtime::ToolSet::AST::InstanceVariableAccess) || node.is_a?(Rubinius::ToolSets::Runtime::ToolSet::AST::InstanceVariableAssignment) @ivars << node.name end end end end