Class: Chromate::Configuration
- Inherits:
-
Object
- Object
- Chromate::Configuration
- Defined in:
- lib/chromate.rb
Instance Attribute Summary collapse
-
#headless ⇒ Object
Returns the value of attribute headless.
-
#native_control ⇒ Object
Returns the value of attribute native_control.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
-
#user_data_dir ⇒ Object
Returns the value of attribute user_data_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 22 23 |
# File 'lib/chromate.rb', line 17 def initialize @user_data_dir = nil @headless = true @user_agent = nil @native_control = false @proxy = nil end |
Instance Attribute Details
#headless ⇒ Object
Returns the value of attribute headless.
15 16 17 |
# File 'lib/chromate.rb', line 15 def headless @headless end |
#native_control ⇒ Object
Returns the value of attribute native_control.
15 16 17 |
# File 'lib/chromate.rb', line 15 def native_control @native_control end |
#proxy ⇒ Object
Returns the value of attribute proxy.
15 16 17 |
# File 'lib/chromate.rb', line 15 def proxy @proxy end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
15 16 17 |
# File 'lib/chromate.rb', line 15 def user_agent @user_agent end |
#user_data_dir ⇒ Object
Returns the value of attribute user_data_dir.
15 16 17 |
# File 'lib/chromate.rb', line 15 def user_data_dir @user_data_dir end |