Skip to content

Instantly share code, notes, and snippets.

@walf443
Created July 29, 2008 13:34
Show Gist options
  • Save walf443/3086 to your computer and use it in GitHub Desktop.
Save walf443/3086 to your computer and use it in GitHub Desktop.
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