Sha256: 11556d07a2f7ebd0ccf283ac5174fb1cc9c70d7c21c3a45765763a8d1e01e161
Contents?: true
Size: 463 Bytes
Versions: 7
Compression:
Stored size: 463 Bytes
Contents
module Mohawk module Accessors class Control attr_reader :view def initialize(adapter, locator) @adapter = adapter @view = adapter.window.value_control(locator) end def value @view.value end def set(value) @view.set value end def click(&block) @view.click &block if block @view.click { true } unless block end end end end
Version data entries
7 entries across 7 versions & 1 rubygems