Class: JapaneseAddressParser::NormalizeResultMetadata
- Inherits:
-
Data
- Object
- Data
- JapaneseAddressParser::NormalizeResultMetadata
- Defined in:
- lib/japanese_address_parser/normalize_result.rb,
sig/normalize_result.rbs
Overview
JS: NormalizeResultMetadata。VO に昇格しない生データの逃がし道(working_agreement §1-3)。 prefecture は cities を除いた Hash、machi_aza は csv_ranges を除いた Hash(M2 utils)。 chiban / rsdt は M8 で埋まる(level 0-3 では nil)。
Instance Attribute Summary collapse
-
#chiban ⇒ Object
readonly
Returns the value of attribute chiban.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#machi_aza ⇒ Object
readonly
Returns the value of attribute machi_aza.
-
#prefecture ⇒ Object
readonly
Returns the value of attribute prefecture.
-
#rsdt ⇒ Object
readonly
Returns the value of attribute rsdt.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#chiban ⇒ Object (readonly)
Returns the value of attribute chiban
13 14 15 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 13 def chiban @chiban end |
#city ⇒ Object (readonly)
Returns the value of attribute city
13 14 15 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 13 def city @city end |
#input ⇒ Object (readonly)
Returns the value of attribute input
13 14 15 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 13 def input @input end |
#machi_aza ⇒ Object (readonly)
Returns the value of attribute machi_aza
13 14 15 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 13 def machi_aza @machi_aza end |
#prefecture ⇒ Object (readonly)
Returns the value of attribute prefecture
13 14 15 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 13 def prefecture @prefecture end |
#rsdt ⇒ Object (readonly)
Returns the value of attribute rsdt
13 14 15 |
# File 'lib/japanese_address_parser/normalize_result.rb', line 13 def rsdt @rsdt end |
Class Method Details
.new ⇒ instance
11 |
# File 'sig/normalize_result.rbs', line 11
def self.new: (input: String, prefecture: Hash[Symbol, untyped]?, city: Data::SingleCity?, machi_aza: Hash[Symbol, untyped]?, chiban: untyped, rsdt: untyped) -> instance
|
Instance Method Details
#to_h ⇒ Hash[Symbol, untyped]
12 |
# File 'sig/normalize_result.rbs', line 12
def to_h: () -> Hash[Symbol, untyped]
|