Module: Mchat::Welcome
- Included in:
- Repl
- Defined in:
- lib/mchat/comps/welcome.rb
Instance Method Summary collapse
Instance Method Details
#display_ascii_art ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/mchat/comps/welcome.rb', line 9 def display_ascii_art # https://rubygems.org/gems/artii content = <<-'EOF' __ __ _ _ | \/ | | | | | | \ / | ___| |__ __ _| |_ | |\/| |/ __| '_ \ / _` | __| | | | | (__| | | | (_| | |_ |_| |_|\___|_| |_|\__,_|\__| EOF content.style.jade end |
#welcome(switch) ⇒ Object
3 4 5 6 7 |
# File 'lib/mchat/comps/welcome.rb', line 3 def welcome(switch) if switch display_ascii_art end end |