Last active
August 2, 2017 04:43
-
-
Save Sihui/b5d3d0afa484eb0787799323e1226546 to your computer and use it in GitHub Desktop.
Design Pattern: Adapter and Power Adapter
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 TypeCOutlet | |
def type_c_elec | |
'2.5A electricity' | |
end | |
def type_c_voltage | |
'220-240 voltages' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment