Class: RGeo::CoordSys::CS::WKTParser::AuthorityClause
- Inherits:
-
Object
- Object
- RGeo::CoordSys::CS::WKTParser::AuthorityClause
- Defined in:
- lib/rgeo/coord_sys/cs/wkt_parser.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name_, code_) ⇒ AuthorityClause
constructor
A new instance of AuthorityClause.
- #to_a ⇒ Object
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_a ⇒ Object
236 237 238 |
# File 'lib/rgeo/coord_sys/cs/wkt_parser.rb', line 236 def to_a [@name, @code] end |