Sha256: a3224cca05ac9d85be2b5cc0d785b38324d7d3d3a625ae8cf4c8f1126786221a
Contents?: true
Size: 672 Bytes
Versions: 14
Compression:
Stored size: 672 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Examples module Standard module Cowsay module Services class Print include ConvenientService::Standard::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
Version data entries
14 entries across 14 versions & 1 rubygems