Sha256: b1ce27cc3e95d2aa07f55d02c1549206fdbb07a0861c06eef3e7bb4c89a05601

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

class OS
  class << self
    def windows?
      # No Op in Opal
    end
    
    def mac?
      # No Op in Opal
    end
    
    def linux?
      # No Op in Opal
    end
  end
end

class File
  class << self
    def read(*args, &block)
      # TODO implement via asset downloads in the future
      # No Op in Opal
    end
  end
end

class Display
  class << self
    def setAppName(app_name)
      # No Op in Opal
    end
    def setAppVersion(version)
      # No Op in Opal
    end
  end
end

require 'glimmer-dsl-opal'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.7.0 lib/glimmer-dsl-swt.rb
glimmer-dsl-opal-0.6.1 lib/glimmer-dsl-swt.rb
glimmer-dsl-opal-0.6.0 lib/glimmer-dsl-swt.rb
glimmer-dsl-opal-0.5.1 lib/glimmer-dsl-swt.rb
glimmer-dsl-opal-0.5.0 lib/glimmer-dsl-swt.rb