Class: Wreq::Platform
- Inherits:
-
Object
- Object
- Wreq::Platform
- Defined in:
- lib/wreq_ruby/emulate.rb
Overview
Operating system platform enumeration backed by Rust.
Variants are exposed as constants under this class.
Each constant is an instance of Platform and can be passed to
Emulation.new via the platform: keyword.
Constant Summary collapse
- Windows =
nil- MacOS =
nil- Linux =
nil- Android =
nil- IOS =
nil
Instance Method Summary collapse
-
#to_s ⇒ String
Returns the platform name.
Instance Method Details
#to_s ⇒ String
Returns the platform name.
194 195 |
# File 'lib/wreq_ruby/emulate.rb', line 194 def to_s end |