Class: Camoufox::LaunchOptions
- Inherits:
-
Object
- Object
- Camoufox::LaunchOptions
- Defined in:
- lib/camoufox/utils.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw_hash) ⇒ LaunchOptions
constructor
A new instance of LaunchOptions.
- #to_h ⇒ Object
Constructor Details
#initialize(raw_hash) ⇒ LaunchOptions
Returns a new instance of LaunchOptions.
39 40 41 |
# File 'lib/camoufox/utils.rb', line 39 def initialize(raw_hash) @raw = symbolize_top_level(raw_hash) end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
37 38 39 |
# File 'lib/camoufox/utils.rb', line 37 def raw @raw end |
Instance Method Details
#to_h ⇒ Object
43 44 45 |
# File 'lib/camoufox/utils.rb', line 43 def to_h raw.dup end |