Sha256: 247c5c36f26116954274f1eaec4a826c848d79621246eca3464d4ad391996ba7

Contents?: true

Size: 554 Bytes

Versions: 1

Compression:

Stored size: 554 Bytes

Contents

module Locomotive
  module Plugin
    module Liquid
      # @private
      # This module provides functionality for the module which aggregates all
      # the prefixed filter methods. See
      # <tt>Locomotive::Plugin::Liquid#prefixed_liquid_filter_module</tt>
      module PrefixedFilterModule

        protected

        def _build_passthrough_object(modules_to_extend)
          Object.new.tap do |obj|
            modules_to_extend.each do |mod|
              obj.extend(mod)
            end
          end
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotive_plugins-1.0.0.beta2 lib/locomotive/plugin/liquid/prefixed_filter_module.rb