Sha256: f7348c387ba6df6516f7fdfddc7593e70cedcb8e3d55571f2254e832a30e9ccc
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
class Shoes module Mock class App attr_accessor :fullscreen def initialize(dsl) @dsl = dsl end # suboptimal but good enough fo now... calling the DSL lets the methods # play ping pong calling each other... will think of something. def width @dsl.opts[:width] end def height @dsl.opts[:height] end def open end def quit end def started? true end def flush end def clipboard end def clipboard=(text) end def gutter 16 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre1 | lib/shoes/mock/app.rb |