class Browser::Weibo

Public Instance Methods

full_version() click to toggle source
# File lib/browser/weibo.rb, line 12
def full_version
  ua[%r[(?:__weibo__)([\d.]+)]i, 1] || "0.0"
end
id() click to toggle source
# File lib/browser/weibo.rb, line 4
def id
  :weibo
end
match?() click to toggle source
# File lib/browser/weibo.rb, line 16
def match?
  ua =~ /__weibo__/i
end
name() click to toggle source
# File lib/browser/weibo.rb, line 8
def name
  "Weibo"
end