Sha256: 470f3e64f8c90c534da6316326bd9f202946d72400250656082cc688e0fcad5f

Contents?: true

Size: 415 Bytes

Versions: 49

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module Mutant
  module Procto
    # Define the .call method on +host+
    #
    # @param [Object] host
    #   the hosting object
    #
    # @return [undefined]
    #
    # @api private
    def self.included(host)
      host.extend(ClassMethods)
    end

    module ClassMethods
      def call(*arguments)
        new(*arguments).call
      end
    end
  end # Procto
end # Unparser

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
mutant-0.12.4 lib/mutant/procto.rb
mutant-0.12.3 lib/mutant/procto.rb
mutant-0.12.2 lib/mutant/procto.rb
mutant-0.12.0 lib/mutant/procto.rb
mutant-0.11.34 lib/mutant/procto.rb
mutant-0.11.33 lib/mutant/procto.rb
mutant-0.11.32 lib/mutant/procto.rb
mutant-0.11.31 lib/mutant/procto.rb
mutant-0.11.30 lib/mutant/procto.rb
mutant-0.11.29 lib/mutant/procto.rb
mutant-0.11.28 lib/mutant/procto.rb
mutant-0.11.27 lib/mutant/procto.rb
mutant-0.11.26 lib/mutant/procto.rb
mutant-0.11.25 lib/mutant/procto.rb
mutant-0.11.24 lib/mutant/procto.rb
mutant-0.11.23 lib/mutant/procto.rb
mutant-0.11.22 lib/mutant/procto.rb
mutant-0.11.21 lib/mutant/procto.rb
mutant-0.11.20 lib/mutant/procto.rb
mutant-0.11.19 lib/mutant/procto.rb