Class: RGeo::CoordSys::CS::WKTParser::AuthorityClause

Inherits:
Object
  • Object
show all
Defined in:
lib/rgeo/coord_sys/cs/wkt_parser.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name_, code_) ⇒ AuthorityClause

Returns a new instance of AuthorityClause.



231
232
233
234
# File 'lib/rgeo/coord_sys/cs/wkt_parser.rb', line 231

def initialize(name_, code_)
  @name = name_
  @code = code_
end

Instance Method Details

#to_aObject



236
237
238
# File 'lib/rgeo/coord_sys/cs/wkt_parser.rb', line 236

def to_a
  [@name, @code]
end