Sha256: 37fabf854c2e557804666611fee80badbd72f3b7e2d3b25df4fc43574ec11245

Contents?: true

Size: 484 Bytes

Versions: 26

Compression:

Stored size: 484 Bytes

Contents

module ActiveMocker

  module UnknownModule

    def include(_module)
      begin
        super _module
      rescue => e
        Logger_.debug e
        Logger_.debug "ActiveMocker :: Can't include module #{_module} from class #{self.name}.\n #{caller}"

      end
    end

    def extend(_module)
      begin
        super _module
      rescue
        Logger_.debug "ActiveMocker :: Can't extend module #{_module} from class #{self.name}..\n #{caller}"
      end
    end

  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
active_mocker-1.2 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.11 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.10 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.9 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.8 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.7 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.6 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.5 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.4 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.3 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.2 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre.1 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.2.pre lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.23 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.22 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.21 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.20 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.11 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.10 lib/active_mocker/active_record/unknown_module.rb
active_mocker-1.1.9 lib/active_mocker/active_record/unknown_module.rb