In Files

Parent

Class Index [+]

Quicksearch

Object

Public Instance Methods

read_cmd_output( *cmd ) click to toggle source

Read the output of a command using the fork+pipe syntax so execution errors propagate to Ruby.

    # File ext/extconf.rb, line 9
 9: def read_cmd_output( *cmd )
10:     output = IO.read( '|-' ) or exec( *cmd )
11:     return output.chomp
12: end
vvec( version ) click to toggle source

Turn a version string into a Comparable binary datastructure

    # File ext/extconf.rb, line 15
15: def vvec( version )
16:     version.split( '.' ).collect {|i| Integer(i) }.pack( 'N*' )
17: end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.