Sha256: 52146dac2eac5c77adce2de867c615a2a2f965bf15f14db4530fd372b2c2e4d9

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: false

if RUBY_PLATFORM == 'java'
  require 'WordCram.jar'
  require 'jsoup-1.10.3.jar'
  wc = %w[WordAngler WordColorer WordCram WordFonter WordPlacer WordSkipReason]
  sh = %w[Colorers ImageShaper Observer Placers Word ShapeBasedPlacer]
  WC = wc.concat(sh).freeze
  WC.each do |klass|
    java_import "wordcram.#{klass}"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_wordcram-2.0.4 lib/ruby_wordcram.rb
ruby_wordcram-2.0.3 lib/ruby_wordcram.rb
ruby_wordcram-2.0.2 lib/ruby_wordcram.rb
ruby_wordcram-2.0.1 lib/ruby_wordcram.rb