Last active
November 25, 2019 14:30
-
-
Save Schwad/6a39abf38b2c35280f5ad8783403b13d to your computer and use it in GitHub Desktop.
@apotonick Tesla Truck implementation
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
module Tesla | |
module Truck | |
module Destroyer | |
def self.call(human_name:) | |
puts "Das #{human_name} wurde zerstört." | |
end | |
end | |
end | |
end | |
Tesla::Truck::Destroyer.call(human_name: 'nick') | |
#=> Das nick wurde zerstört. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
😹