Class: Address::LineAbbreviator::Result
- Inherits:
-
Data
- Object
- Data
- Address::LineAbbreviator::Result
- Defined in:
- app/services/address/line_abbreviator.rb
Instance Attribute Summary collapse
-
#abbreviated ⇒ Object
readonly
Returns the value of attribute abbreviated.
-
#changed ⇒ Object
(also: #changed?)
readonly
Returns the value of attribute changed.
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(original: nil, abbreviated: nil, changed: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(original: nil, abbreviated: nil, changed: nil) ⇒ Result
Returns a new instance of Result.
25 |
# File 'app/services/address/line_abbreviator.rb', line 25 def initialize(original: nil, abbreviated: nil, changed: nil) = super |
Instance Attribute Details
#abbreviated ⇒ Object (readonly)
Returns the value of attribute abbreviated
23 24 25 |
# File 'app/services/address/line_abbreviator.rb', line 23 def abbreviated @abbreviated end |
#changed ⇒ Object (readonly) Also known as: changed?
Returns the value of attribute changed
23 24 25 |
# File 'app/services/address/line_abbreviator.rb', line 23 def changed @changed end |
#original ⇒ Object (readonly)
Returns the value of attribute original
23 24 25 |
# File 'app/services/address/line_abbreviator.rb', line 23 def original @original end |