class Browser::Weibo

Public Instance Methods

full_version() click to toggle source
# File lib/browser/weibo.rb, line 13
def full_version
  ua[/(?:__weibo__)([\d.]+)/i, 1] || "0.0"
end
id() click to toggle source
# File lib/browser/weibo.rb, line 5
def id
  :weibo
end
match?() click to toggle source
# File lib/browser/weibo.rb, line 17
def match?
  ua.match?(/__weibo__/i)
end
name() click to toggle source
# File lib/browser/weibo.rb, line 9
def name
  "Weibo"
end