summaryrefslogtreecommitdiff
path: root/bool2num.rb
AgeCommit message (Collapse)Author
2011-04-29Minor changes.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Reverting name back to bool2num.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Added proper handling of both FalseClass and TrueClass. We alsoKrzysztof Wilczynski
return real integer values now over string-encoded integers. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-25First version. Improvment upon bool2num function found on the Internet.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>