class Resolv::LOC::Coord
Public Class Methods
(Resolv::LOC::Coord | String arg) → instance
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/resolv/0/resolv.rbs, line 1625
def self.create: (Resolv::LOC::Coord | String arg) -> instance
Creates a new LOC::Coord from arg which may be:
LOC::Coord-
returns
arg. String-
argmust match the LOC::Coord::Regex constant
Public Instance Methods
() → String
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/resolv/0/resolv.rbs, line 1632
def coordinates: () -> String
The raw coordinates
(Resolv::LOC::Coord other) → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/resolv/0/resolv.rbs, line 1627
def eql?: (Resolv::LOC::Coord other) -> bool
Also aliased as: ==
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/resolv/0/resolv.rbs, line 1636
def hash: () -> Integer
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/resolv/0/resolv.rbs, line 1638
def inspect: () -> String
() → orientation
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/resolv/0/resolv.rbs, line 1643
def orientation: () -> orientation
The orientation of the hemisphere as βlatβ or βlonβ