Class: Camoufox::LaunchOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/camoufox/utils.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rawObject (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_hObject



43
44
45
# File 'lib/camoufox/utils.rb', line 43

def to_h
  raw.dup
end