Class: USNO::Imagery::Earth::EarthView
- Inherits:
-
PayDirt::Base
- Object
- PayDirt::Base
- USNO::Imagery::Earth::EarthView
- Defined in:
- lib/usno/imagery/earth/earth_view.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ EarthView
constructor
A new instance of EarthView.
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( = {}) = { usno_imagery_class: USNO::Imagery::Earth::View }.merge() # sets instance variables from key value pairs, # will fail if any keys given before options aren't in options (:view, :usno_imagery_class, ) end |