Skip to content

Instantly share code, notes, and snippets.

@vasilukwolf
Created January 10, 2017 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasilukwolf/bba4b54f8f1c0eb07d3f391b233e1899 to your computer and use it in GitHub Desktop.
Save vasilukwolf/bba4b54f8f1c0eb07d3f391b233e1899 to your computer and use it in GitHub Desktop.
Class Plotline
def initialize(a,b)
@a = a
@b = b
result = -b/a
return result
end
end
line = new Plotline(-10,100);
puts line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment