Sha256: ad1212aa7b37d73c6e01b390c64da15493a1f6a697e969919d7b4dc91f249786

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 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
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

2 entries across 2 versions & 1 rubygems

Version Path
glimmer_wordle-1.1.0 app/wordle.rb
glimmer_wordle-1.0.0 app/wordle.rb