Class: BorderPatrol::Configuration
- Inherits:
-
Object
- Object
- BorderPatrol::Configuration
- Defined in:
- lib/border_patrol/configuration.rb
Constant Summary collapse
- POLLING_PERIOD =
30
Instance Attribute Summary collapse
-
#ignore_console ⇒ Object
Returns the value of attribute ignore_console.
-
#polling_period ⇒ Object
Returns the value of attribute polling_period.
-
#terminate ⇒ Object
Returns the value of attribute terminate.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/border_patrol/configuration.rb', line 7 def initialize @terminate = false @ignore_console = true @polling_period = 30 end |
Instance Attribute Details
#ignore_console ⇒ Object
Returns the value of attribute ignore_console.
5 6 7 |
# File 'lib/border_patrol/configuration.rb', line 5 def ignore_console @ignore_console end |
#polling_period ⇒ Object
Returns the value of attribute polling_period.
5 6 7 |
# File 'lib/border_patrol/configuration.rb', line 5 def polling_period @polling_period end |
#terminate ⇒ Object
Returns the value of attribute terminate.
5 6 7 |
# File 'lib/border_patrol/configuration.rb', line 5 def terminate @terminate end |