class BBC::A11y::Configuration::PageSettings

Attributes

only_standards[R]
skipped_standards[R]
url[R]

Public Class Methods

new(url, skipped_standards=[], only_standards=[]) click to toggle source
# File lib/bbc/a11y/configuration.rb, line 79
def initialize(url, skipped_standards=[], only_standards=[])
  @url = url
  @skipped_standards = skipped_standards
  @only_standards = only_standards
  freeze
end

Public Instance Methods

merge(other) click to toggle source
# File lib/bbc/a11y/configuration.rb, line 86
def merge(other)
  self.class.new(url, skipped_standards + other.skipped_standards)
end