Sha256: 95c890b6a97925039e36c67668c113af18e3f126025c0e79a8c77cb557fe5107
Contents?: true
Size: 209 Bytes
Versions: 3
Compression:
Stored size: 209 Bytes
Contents
module StateInspector class StateInspector def self.report who, what, old, new key = who.respond_to?(:class_eval) ? who : who.class Reporter[key].update who, what, old, new end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
state_inspector-0.8.2 | lib/state_inspector/state_inspector.rb |
state_inspector-0.8.1 | lib/state_inspector/state_inspector.rb |
state_inspector-0.8.0 | lib/state_inspector/state_inspector.rb |