Class: Ellen::Adapters::Shell
Constant Summary collapse
- PROMPT =
"> "
- SOURCE =
"shell"
- USAGE =
"Type `exit` or `quit` to end the session."
Instance Attribute Summary collapse
-
#stopped ⇒ Object
Returns the value of attribute stopped.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ Shell
constructor
A new instance of Shell.
- #run ⇒ Object
- #say(message) ⇒ Object
Methods inherited from Base
Methods included from Env::Validatable
Constructor Details
#initialize(*args) ⇒ Shell
Returns a new instance of Shell.
14 15 16 17 |
# File 'lib/ellen/adapters/shell.rb', line 14 def initialize(*args) super remember end |
Instance Attribute Details
#stopped ⇒ Object
Returns the value of attribute stopped.
12 13 14 |
# File 'lib/ellen/adapters/shell.rb', line 12 def stopped @stopped end |