Sha256: 39e2ebcd73b31e60aa881bd520bc843a9d8f204ed394ad71f2f5fac0cabbeef4

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

module Stack
  module Filters
    module Register
      def self.extensions; @@extensions; end

      @@extensions = [ ]
    
      def self.included(base)
        @@extensions << base
      end
      
      def self.invoke_filter(name, params)
        self.send(name, params)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stack-0.0.9 lib/stack/filters/register.rb
stack-0.0.8 lib/stack/filters/register.rb
stack-0.0.7 lib/stack/filters/register.rb
stack-0.0.6 lib/stack/filters/register.rb