Sha256: e43dab8ae1f7833c4b95a6946e7045b44c7b5e8c154a921a0a78c73eeb09773c
Contents?: true
Size: 542 Bytes
Versions: 14
Compression:
Stored size: 542 Bytes
Contents
require 'tamashii/common' require 'tamashii/agent/config' module Tamashii module Agent module Adapter class Base class << self def object(*args, &block) current_class.new(*args, &block) end def current_class Config.env == "test" ? fake_class : real_class end def real_class raise NotImplementedError end def fake_class raise NotImplementedError end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems