Class: Licensed::Commands::Notices

Inherits:
Command
  • Object
show all
Defined in:
lib/licensed/commands/notices.rb

Instance Attribute Summary

Attributes inherited from Command

#config, #options, #reporter

Instance Method Summary collapse

Methods inherited from Command

#create_reporter, #initialize, #run

Constructor Details

This class inherits a constructor from Licensed::Commands::Command

Instance Method Details

#default_reporter(options) ⇒ Object

Returns the default reporter to use during the command run

options - The options the command was run with

Returns a Licensed::Reporters::CacheReporter



10
11
12
# File 'lib/licensed/commands/notices.rb', line 10

def default_reporter(options)
  Licensed::Reporters::NoticesReporter.new
end