From: Love U Ruby Date: 2013-06-21T05:40:06+09:00 Subject: Re: Why the `#new_ostruct_member` not being able to add the `:email` ? unknown wrote in post #1113031: > Am 20.06.2013 20:58, schrieb Love U Ruby: >>> >>> contact.email = 'john.doe@mymail.com' >> >> Actually I was trying to understand the intention of providing such >> feature method `#new_ostruct_member`. thanks for the advice,I will remember!!! > Generally, it is bad practice to rely on private/protected methods. > The public interface of a library is usually well defined and stable, > but internally used methods might change anytime without further notice. -- Posted via http://www.ruby-forum.com/.