From: Nick Brown Date: 2010-02-26T01:09:18+09:00 Subject: Re: Ruby class Alex: Because Ruby is a dynamically-typed language, it doesn't have to "see" the method. At runtime, if current_item happens to be an object with responds to the 'increment_quantity' method, then current_item.increment_quantity will work fine. If the object does not respond to that method, it will raise an error. -- Posted via http://www.ruby-forum.com/.