Class: Crawlscope::StructuredData::Reporter
- Inherits:
-
Object
- Object
- Crawlscope::StructuredData::Reporter
- Defined in:
- lib/crawlscope/structured_data/reporter.rb
Instance Method Summary collapse
-
#initialize(io:, report_path: nil) ⇒ Reporter
constructor
A new instance of Reporter.
- #report(result) ⇒ Object
Constructor Details
#initialize(io:, report_path: nil) ⇒ Reporter
Returns a new instance of Reporter.
8 9 10 11 |
# File 'lib/crawlscope/structured_data/reporter.rb', line 8 def initialize(io:, report_path: nil) @io = io @report_path = report_path end |