Module: Mchat::Command::Clear::InstanceMethods

Defined in:
lib/mchat/commands/clear.rb

Instance Method Summary collapse

Instance Method Details

#clear_command_run(repl = nil) ⇒ Object



26
27
28
# File 'lib/mchat/commands/clear.rb', line 26

def clear_command_run(repl = nil)
  timeline_clear
end

#clear_help_docObject



16
17
18
19
20
21
22
23
24
# File 'lib/mchat/commands/clear.rb', line 16

def clear_help_doc
_puts %Q(
#{"Help: Clear".style.bold}

command: /clear
explain: clear chat screen.

  )
end