Archive | useragent RSS feed for this section

Divining Rod – A magical stick for mobile profiling

profile = DiviningRod::Profile.new(request) # Notice that the tags aggregate. This is the only hash value that doesn’t override. profile.tags #=> [:webkit, :safari, :youtube_capable, :apple, :iphone_os, :iphone] # Which we can ask about profile.iphone? #=> true profile.apple? #=> true # and retrieve arbitrary hash values, like :name, and :format profile.format #=> :webkit profile.name #=> ‘iPhone’
(Link: Divining Rod – A magical stick for mobile profiling)


Follow

Get every new post delivered to your Inbox.