Sha256: da1caefa89f009971a3d51a28a0a69bcde677eb50251d0df63629cc618521493
Contents?: true
Size: 342 Bytes
Versions: 4
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true # Service mix in that provides a `call` helper method module Service def self.included(base) base.extend ClassMethods end # Adds a `call` method that creates a new instance # and delegates to the child's call method module ClassMethods def call(*args) new(*args).call end end end
Version data entries
4 entries across 4 versions & 1 rubygems