Class: Curtis::Configuration
- Inherits:
-
Object
- Object
- Curtis::Configuration
- Defined in:
- lib/curtis.rb
Instance Attribute Summary collapse
-
#hide_cursor ⇒ Object
Returns the value of attribute hide_cursor.
-
#interactive ⇒ Object
Returns the value of attribute interactive.
-
#use_keypad ⇒ Object
Returns the value of attribute use_keypad.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
55 56 57 58 59 |
# File 'lib/curtis.rb', line 55 def initialize @interactive = true @use_keypad = false @hide_cursor = true end |
Instance Attribute Details
#hide_cursor ⇒ Object
Returns the value of attribute hide_cursor.
53 54 55 |
# File 'lib/curtis.rb', line 53 def hide_cursor @hide_cursor end |
#interactive ⇒ Object
Returns the value of attribute interactive.
51 52 53 |
# File 'lib/curtis.rb', line 51 def interactive @interactive end |
#use_keypad ⇒ Object
Returns the value of attribute use_keypad.
52 53 54 |
# File 'lib/curtis.rb', line 52 def use_keypad @use_keypad end |