Class: Cyperful::Config
- Inherits:
-
Struct
- Object
- Struct
- Cyperful::Config
- Defined in:
- lib/cyperful.rb
Instance Attribute Summary collapse
-
#auto_run_on_reload ⇒ Object
Returns the value of attribute auto_run_on_reload.
-
#editor_scheme ⇒ Object
Returns the value of attribute editor_scheme.
-
#history_recording ⇒ Object
Returns the value of attribute history_recording.
-
#port ⇒ Object
Returns the value of attribute port.
-
#reload_test_files ⇒ Object
Returns the value of attribute reload_test_files.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
22 23 24 25 26 27 28 29 30 |
# File 'lib/cyperful.rb', line 22 def initialize super( port: 3004, auto_run_on_reload: true, reload_test_files: true, editor_scheme: "vscode", history_recording: true, ) end |
Instance Attribute Details
#auto_run_on_reload ⇒ Object
Returns the value of attribute auto_run_on_reload
13 14 15 |
# File 'lib/cyperful.rb', line 13 def auto_run_on_reload @auto_run_on_reload end |
#editor_scheme ⇒ Object
Returns the value of attribute editor_scheme
13 14 15 |
# File 'lib/cyperful.rb', line 13 def editor_scheme @editor_scheme end |
#history_recording ⇒ Object
Returns the value of attribute history_recording
13 14 15 |
# File 'lib/cyperful.rb', line 13 def history_recording @history_recording end |
#port ⇒ Object
Returns the value of attribute port
13 14 15 |
# File 'lib/cyperful.rb', line 13 def port @port end |
#reload_test_files ⇒ Object
Returns the value of attribute reload_test_files
13 14 15 |
# File 'lib/cyperful.rb', line 13 def reload_test_files @reload_test_files end |