#!/usr/bin/env ruby
require("rbgsl")

v = GSL::Vector[1, 10, 100, 1000, 10000]
p v
p v.log10



syntax highlighted by Code2HTML, v. 0.9.1