Last active
December 19, 2015 08:59
-
-
Save marioaquino/5930031 to your computer and use it in GitHub Desktop.
ISP in Ruby
This file contains hidden or 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 Drone | |
| def launch_missiles_at(x, y, z) | |
| end | |
| def take_picture_of(x, y, z) | |
| end | |
| def take_off | |
| puts 'taking off...' | |
| end | |
| def land | |
| puts 'landing...' | |
| end | |
| def fly_to(x, y, z) | |
| puts "flying to x: #{x} y: #{y} z: #{z}" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment