Class: ConvenientService::Examples::Standard::Cowsay

Inherits:
Object
  • Object
show all
Includes:
Feature::Configs::Standard
Defined in:
lib/convenient_service/examples/standard/cowsay.rb,
lib/convenient_service/examples/standard/cowsay/services/print.rb,
lib/convenient_service/examples/standard/cowsay/services/build_cow.rb,
lib/convenient_service/examples/standard/cowsay/services/build_cloud.rb

Defined Under Namespace

Modules: Services

Instance Method Summary collapse

Instance Method Details



20
21
22
# File 'lib/convenient_service/examples/standard/cowsay.rb', line 20

def print(text = "Hello World!", out: $stdout)
  Services::Print[text: text, out: out]
end