Sha256: c70a0688f1a45370e924b3e3b45bdb9c91d4e81c71ff5d00c9fc1de5cfb19079

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module Capybara
  module ScreenshotConfig
    class Configuration
      attr_accessor :save_dir, :full

      def initialize
        @save_dir ||= "screenshot"
        @full     ||= false
      end

      def options
        {
          full: @full
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capybara-screenshot_config-0.3.0 lib/capybara/screenshot_config/configuration.rb
capybara-screenshot_config-0.2.0 lib/capybara/screenshot_config/configuration.rb
capybara-screenshot_config-0.1.0 lib/capybara/screenshot_config/configuration.rb
capybara-screenshot_config-0.0.1 lib/capybara/screenshot_config/configuration.rb