Class: Licensed::Commands::Environment
- Defined in:
- lib/licensed/commands/environment.rb
Defined Under Namespace
Classes: AppEnvironment
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Licensed::Commands::Command
Instance Method Details
#create_reporter(options) ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/licensed/commands/environment.rb', line 38 def create_reporter() case [:format] when "json" Licensed::Reporters::JsonReporter.new else Licensed::Reporters::YamlReporter.new end end |