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
### Keybase proof | |
I hereby claim: | |
* I am goltergaul on github. | |
* I am goltergaul (https://keybase.io/goltergaul) on keybase. | |
* I have a public key ASCxsfBheAh0teyihIY9JESFRsxvlRYbCXIWELqxcC5SKAo | |
To claim this, I am signing this object: |
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
/home/goltergaul/workspaces/byebug/byebug.gemspec:20: warning: Insecure world writable dir /home/goltergaul/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bin in PATH, mode 040777 | |
/home/goltergaul/.rbenv/versions/2.1.1/bin/ruby -w -I"lib" -I"/home/goltergaul/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rake-10.2.1/lib" "test/test_helper.rb" "test/*_test.rb" | |
/home/goltergaul/workspaces/byebug/byebug.gemspec:20: warning: Insecure world writable dir /home/goltergaul/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bin in PATH, mode 040777 | |
/home/goltergaul/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/debugger-linecache-1.2.0/lib/linecache19.rb:379: warning: assigned but unused variable - lines | |
Run options: --seed 14049 | |
# Running: | |
.................................................................................S...............................................................................S.F.........E..........................................................F.FFFFFFFFFFFFSFFFFFFFFEFFF.........S........................ |
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 Point | |
attr_accessor :x, :y | |
# Constructor that takes in an x,y coordinate | |
def initialize(x,y) | |
@x = x | |
@y = y | |
end | |
# Calculates the distance to Point p |