class Rubocop::Cop::Lint::Eval
This cop checks for the use of *Kernel#eval*.
def on_send(node)
def on_send(node) receiver, method_name, = *node warning(node, :selector) if receiver.nil? && method_name == :eval end
This cop checks for the use of *Kernel#eval*.
def on_send(node) receiver, method_name, = *node warning(node, :selector) if receiver.nil? && method_name == :eval end