Class: Exercism::Analyzers::Send

Inherits:
Analyzer
  • Object
show all
Defined in:
lib/exercism-analysis/analyzers/ruby/send.rb

Instance Attribute Summary

Attributes inherited from Analyzer

#adapter, #processor

Instance Method Summary collapse

Methods inherited from Analyzer

#initialize, #lines, #padding, processor, #with_tempfile

Constructor Details

This class inherits a constructor from Exercism::Analyzers::Analyzer

Instance Method Details

#callObject



8
9
10
11
12
13
# File 'lib/exercism-analysis/analyzers/ruby/send.rb', line 8

def call
  feedback = processor.result.map do |exp|
    Feedback.from_src(:send, exp.src_extract, public_send_template(exp))
  end
  Result.new(:send, feedback)
end