Top Level Namespace
Defined Under Namespace
Classes: PGError, PGconn, PGresult
Instance Method Summary collapse
-
#vvec(version) ⇒ Object
Turn a version string into a Comparable binary datastructure.
Instance Method Details
#vvec(version) ⇒ Object
Turn a version string into a Comparable binary datastructure
10 11 12 |
# File 'ext/extconf.rb', line 10 def vvec( version ) version.split( '.' ).collect {|i| Integer(i) }.pack( 'N*' ) end |