Its just passing 257 into the duration method via the new_duration
argument and putting it in the @duration attribute variable.

Krekna Mektek wrote:
> Hi!
> 
> How does this actually work?
> 
> from the Pick Axe book:
> 
> irb>
> 1>  class Song
> 2 >  def duration=(new_duration)
> 3>     @duration = new_duration
> 

-- 
Posted via http://www.ruby-forum.com/.