Skip to content

Instantly share code, notes, and snippets.

@Schwad
Last active November 25, 2019 14:30
Show Gist options
  • Save Schwad/6a39abf38b2c35280f5ad8783403b13d to your computer and use it in GitHub Desktop.
Save Schwad/6a39abf38b2c35280f5ad8783403b13d to your computer and use it in GitHub Desktop.
@apotonick Tesla Truck implementation
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.
@apotonick
Copy link

😹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment