lib/convenient_service/examples/standard/cowsay.rb in convenient_service-0.11.0 vs lib/convenient_service/examples/standard/cowsay.rb in convenient_service-0.12.0

- old
+ new

@@ -11,13 +11,13 @@ # module ConvenientService module Examples module Standard module Cowsay - class << self - def print(text = "Hello World!", out: $stdout) - Services::Print[text: text, out: out] - end + include ConvenientService::Feature + + entry :print do |text = "Hello World!", out: $stdout| + Services::Print[text: text, out: out] end end end end end