Module: Vapir::InputElement::WatirInputElementConfigCompatibility

Included in:
Vapir::InputElement
Defined in:
lib/vapir-common/elements/elements.rb

Instance Method Summary collapse

Instance Method Details

#abhors_typingObject



65
66
67
68
69
70
71
# File 'lib/vapir-common/elements/elements.rb', line 65

def abhors_typing
  if config.warn_deprecated
    Kernel.warn_with_caller "WARNING: #abhors_typing is deprecated; please use the new config framework with config.type_keys="
  end
  config.type_keys = false
  self
end

#requires_typingObject



58
59
60
61
62
63
64
# File 'lib/vapir-common/elements/elements.rb', line 58

def requires_typing
  if config.warn_deprecated
    Kernel.warn_with_caller "WARNING: #requires_typing is deprecated; please use the new config framework with config.type_keys="
  end
  config.type_keys = true
  self
end