Sha256: 4fed3ccd1837c7099bf84cd2bca9e26a87e1578f6624677cc6f81bc44e744835

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

require 'rbbt-util'

module COSTART

  Rbbt.claim "COSTART", 
    Proc.new do
      terms = ["#COSTART Terms"]
      Open.open('http://hedwig.mgh.harvard.edu/biostatistics/files/costart.html').lines.each do |line|
        puts line
        next unless line =~ /^'(.*)',/
        terms << $1
      end
      
      terms * "\n"
    end, 'COSTART'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbbt-sources-0.2.2 lib/rbbt/sources/COSTART.rb