Sha256: 44b1a8ebfbe70aabf8b30131fefab3ea526fa716160ad521a0b89c508033f47b

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

class Shoes
  module Mock
    class Check
      include Shoes::Mock::CommonMethods
      include Shoes::Mock::Clickable

      def initialize(*_opts)
        # SWT backend sets a size, so mimic that in the mock
        super
        @dsl.width ||= 22
      end

      def checked?
        false
      end

      def checked=(*_opts)
      end

      def focus
      end

      def enabled(_value)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-core-4.0.0.rc1 lib/shoes/mock/check.rb