Class: Rzman::Zmanim

Inherits:
CLI
  • Object
show all
Defined in:
lib/rzman/zmanim.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from CLI

#call, #get_shabbat_zmanim, #get_zmanim, #goodbye, #menu, #return_to_menu, #zip_valid?

Instance Attribute Details

#middayObject

Returns the value of attribute midday.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def midday
  @midday
end

#midday_nameObject

Returns the value of attribute midday_name.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def midday_name
  @midday_name
end

#minha_gedolahObject

Returns the value of attribute minha_gedolah.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def minha_gedolah
  @minha_gedolah
end

#minha_gedolah_nameObject

Returns the value of attribute minha_gedolah_name.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def minha_gedolah_name
  @minha_gedolah_name
end

#nightfallObject

Returns the value of attribute nightfall.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def nightfall
  @nightfall
end

#nightfall_nameObject

Returns the value of attribute nightfall_name.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def nightfall_name
  @nightfall_name
end

#plag_haminhaObject

Returns the value of attribute plag_haminha.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def plag_haminha
  @plag_haminha
end

#plag_haminha_nameObject

Returns the value of attribute plag_haminha_name.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def plag_haminha_name
  @plag_haminha_name
end

#sunriseObject

Returns the value of attribute sunrise.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def sunrise
  @sunrise
end

#sunrise_nameObject

Returns the value of attribute sunrise_name.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def sunrise_name
  @sunrise_name
end

#sunsetObject

Returns the value of attribute sunset.



3
4
5
# File 'lib/rzman/zmanim.rb', line 3

def sunset
  @sunset
end

Class Method Details

.shabbat_timeObject



12
13
14
15
16
17
# File 'lib/rzman/zmanim.rb', line 12

def self.shabbat_time
  Rzman::Scraper.scrape_shabbat_times
  puts " "
  puts "Shabbat times courtesy of MyJewishLearning.com.".colorize(:yellow)
  puts "Shabbat Shalom!".colorize(:yellow)
end

.zmanim_todayObject



5
6
7
8
9
10
# File 'lib/rzman/zmanim.rb', line 5

def self.zmanim_today
  Rzman::Scraper.scrape_zmanim_today
  puts " "
  puts "Zmanim courtesy of MyZmanim.com".colorize(:yellow)
  puts "Happy davening!".colorize(:yellow)
end