Module: Nsync

Defined in:
lib/nsync/core_extensions.rb,
lib/nsync/config.rb,
lib/nsync/consumer.rb,
lib/nsync/producer.rb,
lib/nsync/class_methods.rb,
lib/nsync/producer/methods.rb,
lib/nsync/git_version_manager.rb,
lib/nsync/active_record/methods.rb,
lib/nsync/active_record/consumer/methods.rb,
lib/nsync/active_record/producer/methods.rb

Overview

The parts of ActiveSupport that we need, all shamelessly stolen

Defined Under Namespace

Modules: ActiveRecord, ClassMethods, CoreExtensions Classes: Config, Consumer, GitVersionManager, Producer

Class Method Summary collapse

Class Method Details

.configObject



2
3
4
# File 'lib/nsync/config.rb', line 2

def self.config
  @config ||= Config.new
end

.reset_configObject



6
7
8
# File 'lib/nsync/config.rb', line 6

def self.reset_config
  @config = nil
end