Sha256: 97c13a7108bc5bf6ba95995fef84f2a86d7af364f91a18ede9011de70b4e458a

Contents?: true

Size: 138 Bytes

Versions: 3

Compression:

Stored size: 138 Bytes

Contents

require 'rwt/DOM'
class HelloWorld
  def self.main
    out = DOM.getElementById('out')
    DOM.setInnerText(out, 'hello world')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubyjs-0.7.1 examples/hw/hw.rb
rubyjs-0.8.0 examples/hw/hw.rb
rubyjs-0.7.0 examples/hw/hw.rb