Sha256: e585810ca6cc8783e9d3483ae740deaedac67cac89d7a95ae329006cd16c10b0
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true require_relative "factorial/services" require_relative "factorial/utils" ## # @internal # Usage examples: # # result = ConvenientService::Examples::Standard::Factorial.calculate(10) # module ConvenientService module Examples module Standard class Factorial include ConvenientService::Feature entry :calculate do |number| Services::Calculate[number: number] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
convenient_service-0.14.0 | lib/convenient_service/examples/standard/factorial.rb |
convenient_service-0.13.0 | lib/convenient_service/examples/standard/factorial.rb |