Created
July 29, 2008 13:34
-
-
Save walf443/3086 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
voda = Jpmobile::Mobile::Vodafone.new({}) | |
#=> #<Jpmobile::Mobile::Vodafone:0xb7bc0f18 @request={}> | |
voda.softbank? | |
#=> true | |
voda.vodafone? | |
#=> true | |
voda.jphone? | |
#=> false | |
jphone = Jpmobile::Mobile::Jphone.new({}) | |
#=> #<Jpmobile::Mobile::Jphone:0xb7ba3d28 @request={}> | |
jphone.softbank? | |
#=> true | |
jphone.vodafone? | |
#=> true | |
jphone.jphone? | |
#=> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment