Class: Mysh::Console
Overview
A wrapper for the mysh console terminal.
Instance Method Summary collapse
-
#eoi? ⇒ Boolean
Have we reached the end of input?.
-
#get_command ⇒ Object
Get the initial line of command input.
-
#get_command_extra(str) ⇒ Object
Get additional lines of continued commands.
-
#initialize ⇒ Console
constructor
Setup the console wrapper.
Constructor Details
#initialize ⇒ Console
Setup the console wrapper.
10 11 12 |
# File 'lib/mysh/sources/console.rb', line 10 def initialize @eoi = false end |
Instance Method Details
#eoi? ⇒ Boolean
Have we reached the end of input?
26 27 28 |
# File 'lib/mysh/sources/console.rb', line 26 def eoi? @eoi end |