Sha256: b085a516d7901a7217875ecac44bec3a315901bb2a0059d62534d47e6f935c03

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

module Mohawk
  module Accessors
    class Text
      def initialize(adapter, locator)
        @text = adapter.window.text_field(locator)
      end

      def value
        @text.value
      end

      def set(text)
        @text.set text
      end

      def clear
        @text.clear
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mohawk-0.0.1 lib/mohawk/accessors/text.rb