Sha256: fe4cd9d166dbedcc8a2caa9fd5abf9f2a5b36ca556383c52b50d1d572f65fa6f

Contents?: true

Size: 780 Bytes

Versions: 1

Compression:

Stored size: 780 Bytes

Contents

require "putter/configuration"
require "putter/errors"
require "putter/instance_follower"
require "putter/method_creator"
require "putter/method_proxy"
require "putter/print_strategy"
require "putter/proxy_method_data"
require "putter/version"
require "putter/watcher_data"

require "putter/follower"
require "putter/watcher"

module Putter
  include Errors

  class << self
    attr_writer :configuration
  end

  def self.follow(obj, options={})
    Putter::Follower.new(obj, options)
  end

  def self.watch(obj, options={})
    Putter::Watcher.watch(obj, options)
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield configuration
  end

  def self.reset_configuration
    @configuration = Configuration.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
putter-0.4.0 lib/putter.rb