search for: mykeyvaluemodel

Displaying 1 result from an estimated 1 matches for "mykeyvaluemodel".

2006 Jul 27
7
Newbie question---
I wrote a ruby script that parses a file into key-values like so: class Parser table = { } IO.foreach(''Localizable.strings'') { |line| if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x table[ $1 ] = $2 end } end I want to store the key-values in different colums on my database so that when I enter a key, it gives me the corresponding value...how