Class: Rzman::Zmanim
Instance Attribute Summary collapse
-
#midday ⇒ Object
Returns the value of attribute midday.
-
#midday_name ⇒ Object
Returns the value of attribute midday_name.
-
#minha_gedolah ⇒ Object
Returns the value of attribute minha_gedolah.
-
#minha_gedolah_name ⇒ Object
Returns the value of attribute minha_gedolah_name.
-
#nightfall ⇒ Object
Returns the value of attribute nightfall.
-
#nightfall_name ⇒ Object
Returns the value of attribute nightfall_name.
-
#plag_haminha ⇒ Object
Returns the value of attribute plag_haminha.
-
#plag_haminha_name ⇒ Object
Returns the value of attribute plag_haminha_name.
-
#sunrise ⇒ Object
Returns the value of attribute sunrise.
-
#sunrise_name ⇒ Object
Returns the value of attribute sunrise_name.
-
#sunset ⇒ Object
Returns the value of attribute sunset.
Class Method Summary collapse
Methods inherited from CLI
#call, #get_shabbat_zmanim, #get_zmanim, #goodbye, #menu, #return_to_menu, #zip_valid?
Instance Attribute Details
#midday ⇒ Object
Returns the value of attribute midday.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def midday @midday end |
#midday_name ⇒ Object
Returns the value of attribute midday_name.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def midday_name @midday_name end |
#minha_gedolah ⇒ Object
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_name ⇒ Object
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 |
#nightfall ⇒ Object
Returns the value of attribute nightfall.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def nightfall @nightfall end |
#nightfall_name ⇒ Object
Returns the value of attribute nightfall_name.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def nightfall_name @nightfall_name end |
#plag_haminha ⇒ Object
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_name ⇒ Object
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 |
#sunrise ⇒ Object
Returns the value of attribute sunrise.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def sunrise @sunrise end |
#sunrise_name ⇒ Object
Returns the value of attribute sunrise_name.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def sunrise_name @sunrise_name end |
#sunset ⇒ Object
Returns the value of attribute sunset.
3 4 5 |
# File 'lib/rzman/zmanim.rb', line 3 def sunset @sunset end |
Class Method Details
.shabbat_time ⇒ Object
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_today ⇒ Object
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 |