Sha256: 62bed8d044ad9bf112f861bf8748e33500888112b58c015cd8dbb95ea6a22abe

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

#!/usr/bin/ruby

$:.unshift File.join(File.dirname(__FILE__), "..", "lib")

require 'log4r'
require 'ConstraintSolver'

include Log4r

module ConstraintSolver
    class ConstraintSolverBin < ConstraintSolver
	def main
	    if ARGV.empty?
		eval STDIN.read
	    else
		ARGV.each { |file|
		    eval File.read(file)
		}
	    end
	end
	c = new
	c.main
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ConstraintSolver-0.1 bin/ConstraintSolver