Sha256: 1cc16fc2d6c1e575f61cb173a040be0f546859c6d775b1d27527160f6c212a69
Contents?: true
Size: 367 Bytes
Versions: 9
Compression:
Stored size: 367 Bytes
Contents
module Mohawk module Accessors class Button attr_reader :view def initialize(adapter, locator) @view = adapter.window.button(locator) end def click(&block) @view.click &block if block @view.click {true} unless block end def value @view.value end end end end
Version data entries
9 entries across 9 versions & 1 rubygems