Class: Rozi::NameSearchProperties

Inherits:
DataStruct
  • Object
show all
Includes:
Shared, Shared::DatumSetter
Defined in:
lib/rozi/name_search.rb

Overview

Represents the global properties of a name search text file

Constant Summary collapse

PROPERTIES =
[
  :comment, :datum, :latlng, :utm, :utm_zone, :hemisphere
]

Instance Method Summary collapse

Methods included from Shared::DatumSetter

#datum=

Methods included from Shared

#datum_valid?, #escape_text, #interpret_color, #unescape_text

Constructor Details

#initialize(*args, **kwargs) ⇒ NameSearchProperties

Returns a new instance of NameSearchProperties.



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/rozi/name_search.rb', line 47

def initialize(*args, **kwargs)
  update(
    comment: "",
    datum: "WGS 84",
    latlng: true,
    utm: false,
    utm_zone: nil,
    hemisphere: nil
  )

  super
end