Class: Licensed::Commands::Environment

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

Defined Under Namespace

Classes: AppEnvironment

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::StatusReporter



37
38
39
# File 'lib/licensed/commands/environment.rb', line 37

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