Ticket #123 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Investigate possible Table() bug

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

Description

Expected:

Table("1,2,3\n4,5,6\n", :has_names => false) == [[1,2,3],[4,5,6]].to_table

Got:

"has_namesfalse" appended to end of table!?!

Need to check if this was an isolated incident or a bug.

Change History

12/31/06 11:11:27 changed by sandal

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

Table() does not currently support this behavior.

This is mostly due to conflict with the following:

Table("a") == Table(%w[a])

We'll need to figure out how to fit in this behaviour if we're going to add it, but for now, i'm closing the ticket.