BibleGateway.com Verse Of The Day

Friday, April 01, 2011

Testing SyntaxHighlighter Script

Just testing the Syntax Highlighter script....

Please disregard. There's nothing to see here, move along....

Some links:


#!/usr/bin/env ruby

class SyntaxHighLighterTest

$max_column_chars = 4000

attr_accessor :numRecords

def initialize(numEach=1000)
@numRecords = numEach
end

def do_nothing
tstamp = Time.new
puts "The time is now #{tstamp}"

@numRecords.to_i.times do
puts "going...."
end

puts "gone"
end
end

if __FILE__ == $0
numRecs = ARGV.first
fn = SyntaxHighLighterTest.new numRecs
fn.do_nothing
end