Class: GemDigest::Reporters::Markdown

Inherits:
Base
  • Object
show all
Defined in:
lib/gem_digest/reporters/markdown.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from GemDigest::Reporters::Base

Instance Method Details

#generate_report(categorized_gems) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/gem_digest/reporters/markdown.rb', line 6

def generate_report(categorized_gems)
  content = build_markdown_content(categorized_gems)
  output_file = File.join(@output_dir, "gem-digest-report.md")
  
  File.write(output_file, content)
  puts "📄 Markdown report generated: #{output_file}"
end