class Reek::Context::SendContext
A context wrapper for method calls found in a syntax tree.
Attributes
Public Class Methods
Source
# File lib/reek/context/send_context.rb, line 13 def initialize(exp, name) @name = name super(exp) end
Calls superclass method
Reek::Context::CodeContext::new
Public Instance Methods
Source
# File lib/reek/context/send_context.rb, line 18 def method_name_called_to_call return unless @name == :method local_nodes(:sym).map(&:name) end