class Cucumber::Core::Test::Result::StrictConfiguration

def strict?(type = nil)

def strict?(type = nil)
  if type.nil?
    settings.each do |_key, value|
      return true if value == true
    end
    false
  else
    return false unless settings.key?(type)
    return false unless set?(type)
    settings[type]
  end
end