class Constancy

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

This software is public domain. No rights are reserved. See LICENSE for more information.

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/constancy.rb, line 22
def config
  @@config ||= Constancy::Config.new
end
configure(path: nil, targets: nil, call_external_apis: true) click to toggle source
# File lib/constancy.rb, line 26
def configure(path: nil, targets: nil, call_external_apis: true)
  @@config = Constancy::Config.new(path: path, targets: targets, call_external_apis: call_external_apis)
end
configured?() click to toggle source
# File lib/constancy.rb, line 30
def configured?
  not @@config.nil?
end