Sha256: 1f4b1e46942448c2dcfa5d7cdcf358cced91dc9d94628ed823d1f6b533b38011

Contents?: true

Size: 306 Bytes

Versions: 2

Compression:

Stored size: 306 Bytes

Contents

#!/usr/bin/ruby
load 'framingham/version.rb'
load 'framingham/heartdisease.rb'

module Framingham extend self

def help
  "Framingham display help info..."
end

protected

def to_i value
  (value.eql? true or value.to_s == "true" or (
    value.to_f != 0 if value.respond_to? 'to_f'
  )) ? 1 : 0
end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
framingham-0.1.20130712221655 framingham.rb
framingham-0.1.20130711193533 framingham.rb