Class: Ekispert::Point::Station::GateGroup::Gate
- Inherits:
-
EkispertBase
- Object
- EkispertBase
- Ekispert::Point::Station::GateGroup::Gate
- Defined in:
- lib/ekispert/point/station/gate_group/gate.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#geo_point_list ⇒ Object
Returns the value of attribute geo_point_list.
-
#name_list ⇒ Object
Returns the value of attribute name_list.
Instance Method Summary collapse
- #geo_point ⇒ Object
-
#initialize(element) ⇒ Gate
constructor
A new instance of Gate.
- #name ⇒ Object
Methods included from Util
Constructor Details
#initialize(element) ⇒ Gate
Returns a new instance of Gate.
8 9 10 11 12 |
# File 'lib/ekispert/point/station/gate_group/gate.rb', line 8 def initialize(element) @name_list = [] @geo_point_list = [] super(element) end |
Instance Attribute Details
#geo_point_list ⇒ Object
Returns the value of attribute geo_point_list.
6 7 8 |
# File 'lib/ekispert/point/station/gate_group/gate.rb', line 6 def geo_point_list @geo_point_list end |
#name_list ⇒ Object
Returns the value of attribute name_list.
6 7 8 |
# File 'lib/ekispert/point/station/gate_group/gate.rb', line 6 def name_list @name_list end |
Instance Method Details
#geo_point ⇒ Object
18 19 20 |
# File 'lib/ekispert/point/station/gate_group/gate.rb', line 18 def geo_point @geo_point_list[0] end |
#name ⇒ Object
14 15 16 |
# File 'lib/ekispert/point/station/gate_group/gate.rb', line 14 def name @name_list[0].text end |