Methods

Class/Module Index [+]

Quicksearch

Backup::Configuration

Public Instance Methods

defaults(&block) click to toggle source

Pass calls on to the proper class and log a warning

# File lib/backup/configuration.rb, line 14
def defaults(&block)
  klass = eval(self.to_s.sub('Configuration::', ''))
  Logger.warn Errors::ConfigurationError.new         [DEPRECATION WARNING]        #{ self }.defaults is being deprecated.        To set pre-configured defaults for #{ klass }, use:        #{ klass }.defaults
  klass.defaults(&block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.