Sha256: 1a7f900ebc5c136c9c82ee0d82e1e45a454f6db13a70a0c6f7e57f115239f321
Contents?: true
Size: 376 Bytes
Versions: 9
Compression:
Stored size: 376 Bytes
Contents
require "cascade/statistics" module Cascade module StatisticsCollectible module InstanceMethods def statistics @statistics ||= Statistics.instance end end def self.included(receiver) receiver.extend Forwardable receiver.send :include, InstanceMethods receiver.def_delegator :statistics, :register_action end end end
Version data entries
9 entries across 9 versions & 1 rubygems