Class: Megam::Config

Inherits:
Object
  • Object
show all
Extended by:
Mixlib::Config
Defined in:
lib/megam/config.rb

Class Method Summary collapse

Class Method Details

.add_formatter(name, file_path = nil) ⇒ Object



26
27
28
# File 'lib/megam/config.rb', line 26

def self.add_formatter(name, file_path=nil)
  formatters << [name, file_path]
end

.formattersObject



30
31
32
# File 'lib/megam/config.rb', line 30

def self.formatters
  @formatters ||= []
end

.inspectObject



22
23
24
# File 'lib/megam/config.rb', line 22

def self.inspect
  configuration.inspect
end