Created
August 13, 2014 03:25
-
-
Save claudijd/b069fece24e08b372146 to your computer and use it in GitHub Desktop.
Semi-automatic Gun
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 Gun | |
def trigger | |
fire | |
end | |
private | |
def fire | |
puts "BANG!" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment