Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 578 Bytes

File metadata and controls

27 lines (16 loc) · 578 Bytes

Ruby Sunrise

Description:

Ruby Sunrise calculates the civil, official, nautical and astronomical sunrise/sunset given latitude/longitude coordinates and the date.

Features:

Handles the condition of no sunrise/sunset (Alaska in summer/winter) by returning a nil object.

Dependencies:

Ruby Sunrise depends on the 'tzinfo' gem for localizing the computed sunrise/sunset times.

Installation:

gem install RubySunrise