Ticket #15 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Data::Record should take a hash in its constructor

Reported by: dudley Assigned to: sandal
Milestone: Keywords:
Cc:

Description

I think we should be able to pass a hash to Record's constructor like:

r = Ruport::Data::Record.new :a => 1, :b => 2

But I don't know how we should order the attributes. Should we just warn people that the ordering is undefined, or should we try to sort it?

Change History

08/03/06 13:20:45 changed by dudley

  • status changed from new to closed.
  • resolution set to fixed.