Class: USNO::Imagery::Earth::EarthView

Inherits:
PayDirt::Base
  • Object
show all
Defined in:
lib/usno/imagery/earth/earth_view.rb

Direct Known Subclasses

Map, Moon, Rise, Set, Sun

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ EarthView

Returns a new instance of EarthView.



5
6
7
8
9
10
11
12
13
# File 'lib/usno/imagery/earth/earth_view.rb', line 5

def initialize(options = {})
  options = {
    usno_imagery_class: USNO::Imagery::Earth::View
  }.merge(options)

  # sets instance variables from key value pairs,
  # will fail if any keys given before options aren't in options
  load_options(:view, :usno_imagery_class, options)
end