Class: TimezoneTeleporter::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_degreeObject

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_exceptionsObject

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_algorithmObject

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