Class: Ekispert::Point::Prefecture

Inherits:
EkispertBase show all
Defined in:
lib/ekispert/point/prefecture.rb

Defined Under Namespace

Classes: Name

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Util

#snakecase

Constructor Details

#initialize(element) ⇒ Prefecture



6
7
8
9
# File 'lib/ekispert/point/prefecture.rb', line 6

def initialize(element)
  @name_list = []
  super(element)
end

Instance Attribute Details

#name_listObject

Returns the value of attribute name_list.



4
5
6
# File 'lib/ekispert/point/prefecture.rb', line 4

def name_list
  @name_list
end

Instance Method Details

#nameObject



11
12
13
# File 'lib/ekispert/point/prefecture.rb', line 11

def name
  @name_list[0].text
end