Class: GlobalConvert::Projection
- Inherits:
-
Proj4::Projection
- Object
- Proj4::Projection
- GlobalConvert::Projection
- Defined in:
- lib/global_convert/projection.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Projection
constructor
A new instance of Projection.
Constructor Details
#initialize(name) ⇒ Projection
Returns a new instance of Projection.
5 6 7 8 |
# File 'lib/global_convert/projection.rb', line 5 def initialize(name) raise 'Projection not found' unless settings = projections[name.to_s] super(settings['projection']) end |