Sha256: b102661313aa44681f27792fd529ebb83d25162eaaf210d071d0eda99449e5b6

Contents?: true

Size: 208 Bytes

Versions: 5

Compression:

Stored size: 208 Bytes

Contents

module ActiveMocker
  class Logger

    def self.set(logger)
      @@logger = logger
    end

    def self.method_missing(meth, *args, &block)
      return @@logger.send(meth, *args, &block)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_mocker-1.3.2 lib/active_mocker/logger.rb
active_mocker-1.3.1 lib/active_mocker/logger.rb
active_mocker-1.3 lib/active_mocker/logger.rb
active_mocker-1.2.4 lib/active_mocker/logger.rb
active_mocker-1.2.3 lib/active_mocker/logger.rb