Class: TimezoneTeleporter::Configuration
- Inherits:
-
Object
- Object
- TimezoneTeleporter::Configuration
- Defined in:
- lib/timezone_teleporter/configuration.rb
Instance Attribute Summary collapse
-
#delta_degree ⇒ Object
Returns the value of attribute delta_degree.
-
#silent_exceptions ⇒ Object
Returns the value of attribute silent_exceptions.
-
#use_proximity_algorithm ⇒ Object
Returns the value of attribute use_proximity_algorithm.
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/timezone_teleporter/configuration.rb', line 7 def initialize @silent_exceptions = true @use_proximity_algorithm = true @delta_degree = 1 end |
Instance Attribute Details
#delta_degree ⇒ Object
Returns the value of attribute delta_degree.
5 6 7 |
# File 'lib/timezone_teleporter/configuration.rb', line 5 def delta_degree @delta_degree end |
#silent_exceptions ⇒ Object
Returns the value of attribute silent_exceptions.
5 6 7 |
# File 'lib/timezone_teleporter/configuration.rb', line 5 def silent_exceptions @silent_exceptions end |
#use_proximity_algorithm ⇒ Object
Returns the value of attribute use_proximity_algorithm.
5 6 7 |
# File 'lib/timezone_teleporter/configuration.rb', line 5 def use_proximity_algorithm @use_proximity_algorithm end |