Sha256: 1e8333181cda0d761a43ac3e53912cb48afdab46a3178507b987d18cc9785601
Contents?: true
Size: 849 Bytes
Versions: 5
Compression:
Stored size: 849 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Examples module Standard class Cowsay module Services class BuildCow include ConvenientService::Standard::Config def result success(cow: cow) end private ## # Copied with ❤️ from https://github.com/gaborbata/rosetta-cow # def cow <<~'HEREDOC'.split("\n").map { |line| offset(line) }.join("\n") \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || HEREDOC end def offset(line) " " * 10 + line end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems