Created
January 10, 2017 07:24
-
-
Save vasilukwolf/bba4b54f8f1c0eb07d3f391b233e1899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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