module UserAgentDB
Constants
- VERSION
Public Class Methods
random()
click to toggle source
@return [String]
# File lib/user_agent_db.rb, line 6 def random Cli.new.random.tap do |value| raise('UserAgent is nil, but it can not') unless value[/\w/] end end
Private Instance Methods
random()
click to toggle source
@return [String]
# File lib/user_agent_db.rb, line 6 def random Cli.new.random.tap do |value| raise('UserAgent is nil, but it can not') unless value[/\w/] end end