class JRuby::Lint::Reporters::Text
Public Class Methods
new(project, output, options=OpenStruct.new)
click to toggle source
# File lib/jruby/lint/reporters/text.rb, line 4 def initialize(project, output, options=OpenStruct.new) @tags, @output, @options = project.tags, output, options end
Public Instance Methods
puts(finding)
click to toggle source
# File lib/jruby/lint/reporters/text.rb, line 14 def puts(finding) @output.puts finding.to_s end
report(findings)
click to toggle source
# File lib/jruby/lint/reporters/text.rb, line 8 def report(findings) findings.each do |finding| puts finding unless (@tags & finding.tags).empty? end end