Class: GemDigest::Reporters::Base
- Inherits:
-
Object
- Object
- GemDigest::Reporters::Base
- Defined in:
- lib/gem_digest/reporters/base.rb
Instance Method Summary collapse
- #generate_report(categorized_gems) ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/gem_digest/reporters/base.rb', line 6 def initialize( = {}) @options = @output_dir = [:output_dir] || "output" ensure_output_directory end |
Instance Method Details
#generate_report(categorized_gems) ⇒ Object
12 13 14 |
# File 'lib/gem_digest/reporters/base.rb', line 12 def generate_report(categorized_gems) raise NotImplementedError, "Subclasses must implement generate_report" end |