Sha256: a8b6330c7779abae369e68b5d06e1ac64297c59a8c3758f02d5dd93694bf020a
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
# dsl.rb module Ruby2D::DSL def get(sym) Application.get(sym) end def set(opts) Application.set(opts) end def on(args = {}, &proc) Application.on(args, &proc) end def on_key(&proc) Application.on_key(&proc) end def on_controller(&proc) Application.on_controller(&proc) end def update(&proc) Application.update(&proc) end def clear Application.clear end def show Application.show end def close Application.close end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby2d-0.3.1 | lib/ruby2d/dsl.rb |
ruby2d-0.3.0 | lib/ruby2d/dsl.rb |