Sha256: 4abcf99ad5f9324ae98f13922b06003837614311343a2b7871426afef4a9ec2e

Contents?: true

Size: 675 Bytes

Versions: 1

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

TEXT = <<~EOS
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, \
  sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
      Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris \
  nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in \
  reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
      Excepteur sint occaecat cupidatat non proident, sunt in \
  culpa qui officia deserunt mollit anim id est laborum.
EOS

NL = "\n\n"

Shoes.app do
  lines = TEXT.split("\n")
  para lines[0], NL
  para lines[1], NL, justify: true
  para lines[2], NL, leading: 0
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.rc1 samples/simple_lorem_ipsum.rb