Method: Browser#id
- Defined in:
- lib/browser.rb
#id ⇒ Object
Get the browser identifier.
119 120 121 122 |
# File 'lib/browser.rb', line 119 def id NAMES.keys .find {|id| respond_to?("#{id}?") ? public_send("#{id}?") : id } end |
Get the browser identifier.
119 120 121 122 |
# File 'lib/browser.rb', line 119 def id NAMES.keys .find {|id| respond_to?("#{id}?") ? public_send("#{id}?") : id } end |