Sha256: 3b237c0d1cee496dd6483edd8b1426823694974b475956dd57f1036679228400
Contents?: true
Size: 739 Bytes
Versions: 4
Compression:
Stored size: 739 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Examples module Standard module V1 class Cowsay module Services class Print include ConvenientService::Standard::V1::Config attr_reader :text, :out step Services::BuildCloud, in: :text, out: :cloud step Services::BuildCow, out: :cow step :result def initialize(text: "Hello World!", out: $stdout) @text = text @out = out end def result out.puts cloud + cow success end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems