Address#address= should cause reset some parsing/formatting cache #420

Closed
wants to merge 3 commits into from

4 participants

@ippeif
irb(main):001:0> addr = Mail::Address.new 'local-1@domain-1'
=> #<Mail::Address:-643922148 Address: |local-1@domain-1| >
irb(main):002:0> addr.address = 'local-2@domain-2'
=> "local-2@domain-2"
irb(main):003:0> addr
=> #<Mail::Address:-643922148 Address: |local-2@domain-1| >

As above, setting `local-2@domain-2' affects only its local part.

I think Address#address= should cause reset (to nil) some instance variables.

@radar

This patch contains many different commits. Please remove the excessive commits from it.

@mikel
Owner

Closing, please reopen clean against master

@mikel mikel closed this Nov 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment