Method: Firebug::Session#user_agent=
- Defined in:
- lib/firebug/session.rb
#user_agent=(value) ⇒ Object
22 23 24 25 26 |
# File 'lib/firebug/session.rb', line 22 def user_agent=(value) # Pyro seems to truncate the value and since it also uses this value when finding the session, it's important # we do the same. super(Firebug.config.truncate_user_agent ? value&.slice(0...120) : value) end |