Class: Capybara::ScreenshotConfig::Configuration
- Inherits:
-
Object
- Object
- Capybara::ScreenshotConfig::Configuration
- Defined in:
- lib/capybara/screenshot_config/configuration.rb
Instance Attribute Summary collapse
-
#full ⇒ Object
Returns the value of attribute full.
-
#save_dir ⇒ Object
Returns the value of attribute save_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #options ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/capybara/screenshot_config/configuration.rb', line 6 def initialize @save_dir ||= "screenshot" @full ||= false end |
Instance Attribute Details
#full ⇒ Object
Returns the value of attribute full.
4 5 6 |
# File 'lib/capybara/screenshot_config/configuration.rb', line 4 def full @full end |
#save_dir ⇒ Object
Returns the value of attribute save_dir.
4 5 6 |
# File 'lib/capybara/screenshot_config/configuration.rb', line 4 def save_dir @save_dir end |
Instance Method Details
#options ⇒ Object
11 12 13 14 15 |
# File 'lib/capybara/screenshot_config/configuration.rb', line 11 def { full: @full } end |