lib/pelusa/lint/eval_usage.rb in pelusa-0.2.3 vs lib/pelusa/lint/eval_usage.rb in pelusa-0.2.4
- old
+ new
@@ -30,10 +30,10 @@
@violations << node.line if eval_violation?(node)
end
end
def eval_violation?(node)
- node.is_a?(Rubinius::AST::SendWithArguments) && node.name == :eval && node.receiver.is_a?(Rubinius::AST::Self)
+ node.is_a?(Rubinius::ToolSets::Runtime::ToolSet::AST::SendWithArguments) && node.name == :eval && node.receiver.is_a?(Rubinius::ToolSets::Runtime::ToolSet::AST::Self)
end
end
end
end
\ No newline at end of file