Sha256: 82308b52d58d748457d3879f4403213cb9e913df875727a2ddc0647ead8801b5
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
class MockApp attr_accessor :config def config @config ||= Config.new end class Config def system_metrics @system_metrics ||= {} end def middleware @middleware ||= Middleware.new end end class Middleware < Array def use(*args) self.push args end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
system-metrics-0.1.0 | spec/support/mock_app.rb |