lib/prayer_times.rb in prayer_times-0.1.1 vs lib/prayer_times.rb in prayer_times-0.1.2
- old
+ new
@@ -13,12 +13,12 @@
module PrayerTimes #:nodoc:
class << self
include Setters
attr_reader :iterations_count, :times_names, :calculation_methods,
- :calculation_method,:time_format, :time_suffixes,:times_offsets,
- :invalid_time
+ :calculation_method,:time_format, :time_suffixes,:times_offsets,
+ :invalid_time
# @see Calculator initializer
def new(calc_method=@calucation_method,opts={})
PrayerTimes::Calculator.new(calc_method, opts)
end
@@ -26,10 +26,10 @@
Constants
end
def set_attributes
attrs = [:iterations_count, :times_names, :time_format,
- :time_suffixes,:times_offsets, :invalid_time]
+ :time_suffixes,:times_offsets, :invalid_time]
attrs.each {|attr| self.send "#{attr}=", nil}
@calculation_methods = CalculationMethods.new
@calculation_method = @calculation_methods['MWL']