Skip to content

Instantly share code, notes, and snippets.

View Goltergaul's full-sized avatar
🐴

Dominik Goltermann Goltergaul

🐴
View GitHub Profile
### 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:
/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........................
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