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

- old
+ new

@@ -21,10 +21,10 @@ "Doesn't use getters, setters or properties" end def iterate_lines!(klass) ClassAnalyzer.walk(klass) do |node| - if node.is_a?(Rubinius::AST::Send) + if node.is_a?(Rubinius::ToolSets::Runtime::ToolSet::AST::Send) if [:attr_accessor, :attr_writer, :attr_reader].include? node.name @violations << node.line end end end