Class: Curtis::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/curtis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_cursorObject

Returns the value of attribute hide_cursor.



53
54
55
# File 'lib/curtis.rb', line 53

def hide_cursor
  @hide_cursor
end

#interactiveObject

Returns the value of attribute interactive.



51
52
53
# File 'lib/curtis.rb', line 51

def interactive
  @interactive
end

#use_keypadObject

Returns the value of attribute use_keypad.



52
53
54
# File 'lib/curtis.rb', line 52

def use_keypad
  @use_keypad
end