Commit graph

7 commits

Author SHA1 Message Date
Ken Barber
99a93d366f Convert to module format. 2011-04-30 15:59:31 +02:00
Krzysztof Wilczynski
f74ab047cd Change boolean detecion from string to make entire function more robust.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30 02:57:48 +01:00
Krzysztof Wilczynski
6d9e5efe38 Minor changes.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29 23:16:26 +01:00
Krzysztof Wilczynski
b24c839f89 Minor changes.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29 20:47:39 +01:00
Krzysztof Wilczynski
4c097b0a09 Reverting name back to bool2num.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29 20:10:53 +01:00
Krzysztof Wilczynski
07847be9b9 Added proper handling of both FalseClass and TrueClass. We also
return real integer values now over string-encoded integers.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29 20:07:56 +01:00
Krzysztof Wilczynski
87a825e609 First version. Improvment upon bool2num function found on the Internet.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-25 03:19:10 +01:00