Sha256: 88101c48923681f6ca3b60bc8cd28267ed3854445536fef1814251c6fd2dda60

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

module GeoUnits
  module Numeric
    module Dms
      def to_dms format = :dms, dp = nil
        GeoUnits::DmsConverter.to_dms self, format, dp
      end

      def to_lat_dms format = :dms, dp = nil
        GeoUnits::Converter.to_lat self, format, dp
      end

      def to_lon_dms format = :dms, dp = nil
        GeoUnits::Converter.to_lon self, format, dp
      end
      alias_method :to_lng_dms, :to_lon_dms
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geo_units-0.3.4 lib/geo_units/numeric/dms.rb
geo_units-0.3.3 lib/geo_units/numeric/dms.rb
geo_units-0.3.2 lib/geo_units/numeric/dms.rb
geo_units-0.3.1.1 lib/geo_units/numeric/dms.rb
geo_units-0.3.1 lib/geo_units/numeric/dms.rb