lib/convenient_service/examples/standard/cowsay.rb in convenient_service-0.12.0 vs lib/convenient_service/examples/standard/cowsay.rb in convenient_service-0.13.0
- old
+ new
@@ -10,10 +10,10 @@
# result = ConvenientService::Examples::Standard::Cowsay.print("Hi")
#
module ConvenientService
module Examples
module Standard
- module Cowsay
+ class Cowsay
include ConvenientService::Feature
entry :print do |text = "Hello World!", out: $stdout|
Services::Print[text: text, out: out]
end