Created
May 14, 2013 16:21
-
-
Save zhusee2/5577289 to your computer and use it in GitHub Desktop.
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
China.claim do |one_china| | |
one_china = { | |
:name => "People's Republic of China", | |
:territory => ["Mainland China", "Taiwan"] | |
} | |
Taiwan.claim do |one_china| | |
one_china = { | |
:name => "Republic of China", | |
:territory => ["Mainland China", "Taiwan"] | |
} | |
end | |
Philippines.recognize?(one_china) #=> "People's Republic of China including Mainland China and Taiwan." | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment