Wiktionary.org : Text is available under the Creative Commons Attribution-ShareAlike License
Use "accessor" in a sentence
"Setting these values can also be achieved by calling the accessor methods directly."
"After that we updated the password accessor methods; assignment and verification. class Account def password = (password) if new_record? or! password. blank? self. crypted_password = BCrypt:: Password. create (password) end end def has_password? (input)"
"That way, you can change an object's variable without the overhead of calling the accessor, but still claim that the class is a "Java Bean"."