jstrait / wavefile

A Ruby gem for reading and writing sound files in Wave format (*.wav)
https://wavefilegem.com
MIT License
208 stars 24 forks source link

@file_name not set for Writer class #3

Closed jamestunnell closed 11 years ago

jamestunnell commented 11 years ago

The Writer class has an attr_reader for :file_name, but the @file_name instance variable never gets set. So a Writer instance returns nil when file_name is called.

jstrait commented 11 years ago

Oops, that was definitely a bug. Just pushed a change which should fix it. Thanks for pointing it out!

jamestunnell commented 11 years ago

And thank you for fixing it :)