Module: Vapir::Container::WatirContainerConfigCompatibility
- Defined in:
- lib/vapir-common/container.rb
Instance Method Summary collapse
- #type_keys ⇒ Object
-
#type_keys=(arg) ⇒ Object
deprecate.
- #typingspeed ⇒ Object
- #typingspeed=(arg) ⇒ Object
Instance Method Details
#type_keys ⇒ Object
376 377 378 379 380 381 |
# File 'lib/vapir-common/container.rb', line 376 def type_keys if config.warn_deprecated Kernel.warn_with_caller "WARNING: #type_keys is deprecated; please use the new config framework with config.type_keys" end config.type_keys end |
#type_keys=(arg) ⇒ Object
deprecate
382 383 384 385 386 387 |
# File 'lib/vapir-common/container.rb', line 382 def type_keys=(arg) # deprecate if config.warn_deprecated Kernel.warn_with_caller "WARNING: #type_keys= is deprecated; please use the new config framework with config.type_keys=" end config.type_keys= arg end |
#typingspeed ⇒ Object
388 389 390 391 392 393 |
# File 'lib/vapir-common/container.rb', line 388 def typingspeed if config.warn_deprecated Kernel.warn_with_caller "WARNING: #typingspeed is deprecated; please use the new config framework with config.typing_interval" end config.typing_interval end |
#typingspeed=(arg) ⇒ Object
394 395 396 397 398 399 |
# File 'lib/vapir-common/container.rb', line 394 def typingspeed=(arg) if config.warn_deprecated Kernel.warn_with_caller "WARNING: #typingspeed= is deprecated; please use the new config framework with config.typing_interval=" end config.typing_interval=arg end |