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

Methods included from Feature::Configs::Standard

feature?, feature_class?

Methods included from Config

included

Instance Method Details



25
26
27
# File 'lib/convenient_service/examples/standard/cowsay.rb', line 25

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