Created
September 4, 2017 20:00
-
-
Save arthurbailao/0c442a7e99fc53e5e7dae213017b0814 to your computer and use it in GitHub Desktop.
Quiz
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 Integer; alias π upto; alias π +; alias π -; alias π /; end | |
class Proc; alias π call; end | |
module Kernel; alias π¨ puts; def π―; 100 end; end | |
β = π―.π π― | |
π = π―.π π― | |
π€ = π.π π | |
π = π€.π π | |
π = π.π π€ | |
π€ = -> (π©) { | |
π = if π© % π == β && π© % π == β | |
"πΊπ" | |
elsif π© % π == β | |
"πΊ" | |
elsif π© % π == β | |
"π" | |
else | |
π© | |
end | |
π¨ π | |
} | |
π.π(π―) { |π»| π€.π(π») } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Acho que a analogia Γ© cerveja = "fizz" e abelha = "buzz".
Muito legal a utilização de unicode no Ruby, e todo esse monkey patching!