module Shabbat::ClassMethods
Public Instance Methods
last_shabbat()
click to toggle source
# File lib/shabbat/shabbat.rb, line 27 def last_shabbat Date.today.last_shabbat end
next_shabbat()
click to toggle source
# File lib/shabbat/shabbat.rb, line 24 def next_shabbat Date.today.next_shabbat end