Sha256: 6d4b7a1f5f35b676e6664fa7288388ae40d0d9a5acb0b30e26aba71b5e0c199c

Contents?: true

Size: 728 Bytes

Versions: 6

Compression:

Stored size: 728 Bytes

Contents

$LOAD_PATH.unshift(File.expand_path('..', __FILE__))

begin
  require 'bundler/setup'
  Bundler.require(:default)
rescue
  # this runs when packaged as a gem (no bundler)
  require 'glimmer-dsl-swt'
  # add more gems if needed
  require 'clipboard'
end

Clipboard.implementation = Clipboard::Java
Clipboard.copy(Clipboard.paste) # pre-initialize library to avoid slowdown during use

class Wordle
  include Glimmer
  
  APP_ROOT = File.expand_path('../..', __FILE__)
  VERSION = File.read(File.join(APP_ROOT, 'VERSION'))
  LICENSE = File.read(File.join(APP_ROOT, 'LICENSE.txt'))
  
  Display.app_name = 'Glimmer Wordle'
  Display.app_version = VERSION
end

require 'wordle/model/five_letter_word'
require 'wordle/view/app_view'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
glimmer_wordle-1.1.6 app/wordle.rb
glimmer_wordle-1.1.5 app/wordle.rb
glimmer_wordle-1.1.4 app/wordle.rb
glimmer_wordle-1.1.3 app/wordle.rb
glimmer_wordle-1.1.2 app/wordle.rb
glimmer_wordle-1.1.1 app/wordle.rb