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
309 310 311 312 313 314 |
# File 'lib/vapir-common/container.rb', line 309 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
315 316 317 318 319 320 |
# File 'lib/vapir-common/container.rb', line 315 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
321 322 323 324 325 326 |
# File 'lib/vapir-common/container.rb', line 321 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
327 328 329 330 331 332 |
# File 'lib/vapir-common/container.rb', line 327 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 |