class Sendxmpp::InternalConfiguration
Private: This class provides access to the main configuration
Should not be used without Config
module
Public Class Methods
config()
click to toggle source
Public: Static singleton
Gets a singleton object
# File lib/sendxmpp/config.rb, line 12 def self.config @conf ||= self.new end
merge_config(newconfig)
click to toggle source
Public: Merge new configuration
Use Config.update_config
instead!
Returns nothing
# File lib/sendxmpp/config.rb, line 21 def self.merge_config(newconfig) @conf = self.new(newconfig) end