Skip to content

Instantly share code, notes, and snippets.

@SiestaMadokaist
Created January 2, 2017 12:10
Show Gist options
  • Save SiestaMadokaist/ecc2faf471ad5c6828aa53e73630cd9b to your computer and use it in GitHub Desktop.
Save SiestaMadokaist/ecc2faf471ad5c6828aa53e73630cd9b to your computer and use it in GitHub Desktop.
require File.expand_path('../linear_equation', __FILE__)
le = LinearEquation.new do
x - 2.y + z = 9
2.x - y = 4
y + z = 12
end
puts(le.solution)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment