Sha256: 47737456dec5cbd19e16f8aa30e2d30a0066bf681e7d72d3b4980d866f507130

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

require_relative "cowsay/services"

##
# @internal
#   Usage examples:
#
#   result = ConvenientService::Examples::Standard::Cowsay.print("Hello")
#   result = ConvenientService::Examples::Standard::Cowsay.print("Hi")
#
module ConvenientService
  module Examples
    module Standard
      class Cowsay
        include ConvenientService::Feature

        entry :print do |text = "Hello World!", out: $stdout|
          Services::Print[text: text, out: out]
        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/cowsay.rb
convenient_service-0.13.0 lib/convenient_service/examples/standard/cowsay.rb