Class: SshyGuy::Screen
- Inherits:
-
Object
- Object
- SshyGuy::Screen
- Defined in:
- lib/sshyguy/screen.rb
Direct Known Subclasses
SshyGuy::Screens::FolderScreen, SshyGuy::Screens::HelpScreen, SshyGuy::Screens::MainScreen, SshyGuy::Screens::ShortcutScreen
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#prompt ⇒ Object
readonly
Returns the value of attribute prompt.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ Screen
constructor
A new instance of Screen.
- #show ⇒ Object
Constructor Details
#initialize(options) ⇒ Screen
Returns a new instance of Screen.
10 11 12 13 |
# File 'lib/sshyguy/screen.rb', line 10 def initialize() = @prompt = Prompt.new end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/sshyguy/screen.rb', line 9 def end |
#prompt ⇒ Object (readonly)
Returns the value of attribute prompt.
9 10 11 |
# File 'lib/sshyguy/screen.rb', line 9 def prompt @prompt end |
Class Method Details
.show(options) ⇒ Object
5 6 7 |
# File 'lib/sshyguy/screen.rb', line 5 def self.show() new().show end |
Instance Method Details
#show ⇒ Object
15 16 17 |
# File 'lib/sshyguy/screen.rb', line 15 def show raise NotImplementedError end |