Class: JapaneseAddressParser::NormalizeResult
- Inherits:
-
Data
- Object
- Data
- JapaneseAddressParser::NormalizeResult
- Defined in:
- lib/japanese_address_parser/normalize_result.rb,
sig/normalize_result.rbs
Overview
JS: NormalizeResult。addr は M8(level 8)で埋まる(level 0-3 では nil)。
Instance Attribute Summary collapse
-
#addr ⇒ Object
readonly
Returns the value of attribute addr.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#other ⇒ Object
readonly
Returns the value of attribute other.
-
#point ⇒ Object
readonly
Returns the value of attribute point.
-
#pref ⇒ Object
readonly
Returns the value of attribute pref.
-
#town ⇒ Object
readonly
Returns the value of attribute town.
Class Method Summary collapse
Instance Attribute Details
#addr ⇒ Object (readonly)
Returns the value of attribute addr
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def addr @addr end |
#city ⇒ Object (readonly)
Returns the value of attribute city
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def city @city end |
#level ⇒ Object (readonly)
Returns the value of attribute level
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def level @level end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def @metadata end |
#other ⇒ Object (readonly)
Returns the value of attribute other
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def other @other end |
#point ⇒ Object (readonly)
Returns the value of attribute point
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def point @point end |
#pref ⇒ Object (readonly)
Returns the value of attribute pref
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def pref @pref end |
#town ⇒ Object (readonly)
Returns the value of attribute town
17 18 19 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 17 def town @town end |
Class Method Details
.new ⇒ instance
25 |
# File 'sig/normalize_result.rbs', line 25
def self.new: (pref: String?, city: String?, town: String?, addr: String?, other: String, point: NormalizeResultPoint?, level: Integer, metadata: NormalizeResultMetadata) -> instance
|