Sha256: 249171808d54a783f51a6bc58eee14e88e82cb9d851a2e563e7c3510aa75904f
Contents?: true
Size: 343 Bytes
Versions: 15
Compression:
Stored size: 343 Bytes
Contents
# backtick_javascript: true module Browser class Element element :canvas do def context(type='2d') Context.new(`#@native.getContext(#{type})`) end class Context include DelegateNative def initialize native @native = native end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems