Sha256: 4c4315bb93134db225d3074f20d556970c2530e069cae8a2b97bb2bae849b8e4
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true class Shoes module Mock class Image include Shoes::Mock::CommonMethods include Shoes::Mock::Clickable attr_accessor :left, :top def initialize(*_) # SWT backend sets a size, so mimic that in the mock super @dsl.width ||= 22 end def update_image 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/image.rb |