Sha256: 84d5121a15db531fd562f0fc4959ef58370cc380d3e1cd4f9e1529016a3881db
Contents?: true
Size: 480 Bytes
Versions: 6
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true require_relative "factories" ## # WIP: Factory API is NOT well-thought yet. It will be revisited and completely refactored at any time. # module ConvenientService module Factory class << self ## # @param method [String, Symbol] # @param kwargs [Hash] # @return [Object] Can be any type. # def create(method, **kwargs) Factories.public_send("create_#{method}", **kwargs) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems