Module: IERS

Defined in:
lib/iers.rb,
lib/iers/eop.rb,
lib/iers/tai.rb,
lib/iers/ut1.rb,
lib/iers/data.rb,
lib/iers/gmst.rb,
lib/iers/errors.rb,
lib/iers/delta_t.rb,
lib/iers/version.rb,
lib/iers/has_date.rb,
lib/iers/downloader.rb,
lib/iers/eop_lookup.rb,
lib/iers/time_scale.rb,
lib/iers/data_status.rb,
lib/iers/leap_second.rb,
lib/iers/polar_motion.rb,
lib/iers/configuration.rb,
lib/iers/eop_parameter.rb,
lib/iers/interpolation.rb,
lib/iers/length_of_day.rb,
lib/iers/tai_utc_drift.rb,
lib/iers/update_result.rb,
lib/iers/parsers/finals.rb,
lib/iers/has_data_quality.rb,
lib/iers/parsers/leap_second.rb,
lib/iers/earth_rotation_angle.rb,
lib/iers/terrestrial_rotation.rb,
lib/iers/celestial_pole_offset.rb

Defined Under Namespace

Modules: CelestialPoleOffset, Data, DeltaT, EOP, EarthRotationAngle, EopLookup, EopParameter, GMST, HasDataQuality, HasDate, Interpolation, LeapSecond, LengthOfDay, Parsers, PolarMotion, TAI, TaiUtcDrift, TerrestrialRotation, TimeScale, UT1 Classes: Configuration, ConfigurationError, DataError, DataStatus, DownloadError, Downloader, Error, FileNotFoundError, NetworkError, OutOfRangeError, ParseError, StaleDataError, UpdateResult, ValidationError

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.configurationConfiguration

Returns:



33
34
35
# File 'lib/iers.rb', line 33

def configuration
  @configuration ||= Configuration.new
end

.configure {|Configuration| ... } ⇒ void

This method returns an undefined value.

Yields:



39
40
41
# File 'lib/iers.rb', line 39

def configure
  yield configuration
end

.reset!void

This method returns an undefined value.



51
52
53
# File 'lib/iers.rb', line 51

def reset!
  reset_configuration!
end

.reset_configuration!void

This method returns an undefined value.



44
45
46
47
48
# File 'lib/iers.rb', line 44

def reset_configuration!
  @configuration = nil
  Data.clear_loaded!
  LeapSecond.clear_cached!
end