Class: Cased::CLI::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/cased/cli/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



16
17
18
# File 'lib/cased/cli/config.rb', line 16

def initialize
  @metadata = {}
end

Instance Attribute Details

#metadataObject

Examples:

Cased.configure do |config|
  config.cli. = {
    rails_env: ENV['RAILS_ENV'],
    heroku_application: ENV['HEROKU_APP_NAME'],
    git_commit: ENV['GIT_COMMIT'],
  }
end


14
15
16
# File 'lib/cased/cli/config.rb', line 14

def 
  @metadata
end