Closed leviwilson closed 11 years ago
Havin an API you're describing above is not a good idea as also mentioned in the commit comments. There will be problems when column names have reserved keywords in them and so on. I would prefer #[]
instead if doing something similar, so it would work like this or something similar:
row["name"]
row["date_of_birth"]
Good call on the reserved keywords. I'll keep that in mind when I add that later.
Updated the pull request per your suggestions.
Added some methods to the
UiaDll
to get headers and values back from a table. Then refactored theTable#strings
method as well. As an aside, this pull request is setting up for something I want to be able to do withTable#row
. I would like to be able to have this: