On Mon, May 15, 2006 at 09:43:20PM +0900, Mark Volkmann wrote: > What is this supposed to do? It doesn't seem to allow me to create a > Sample object and pass parameters to new. I think the OP wanted that. class Sample < Struct.new(:note_length, :sequence, :note, :channel) def initialize(*a) super # ... end end RUBY_VERSION # => "1.8.4" Sample.new(2, 3, 4, 5) # => #<struct Sample note_length=2, sequence=3, note=4, channel=5> -- Mauricio Fernandez - http://eigenclass.org - singular Ruby