Sha256: 89c4f6f87b0643ec245e8932170b2f9715f085b938d5d3ec6216ab8edc9bd175

Contents?: true

Size: 531 Bytes

Versions: 23

Compression:

Stored size: 531 Bytes

Contents

.def alpha
   cols = _args.first
   cols = "1" if cols == ""
   cols = cols.to_i
   raise "Columns must be 1-5" unless cols.between?(1,5)
   text = _body_text
   text.gsub!(/\n/, " ")
   words = text.split.sort
   words.each_slice(cols) do |row| 
     row.each {|w| _out! '%-15s' % w }
     _out
   end
.end
Here is an alphabetized list:

.alpha 3
fishmonger anarchist aardvark glyph gryphon
halcyon zymurgy mataeotechny zootrope
pareidolia manicotti quark bellicose anamorphic
cytology fusillade ectomorph
.end


And that is all.

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
livetext-0.9.02 test/data/example_alpha2/source.lt3
livetext-0.9.01 test/data/example_alpha2/source.lt3
livetext-0.8.99 test/data/example_alpha2/source.lt3
livetext-0.8.98 test/data/example_alpha2/source.lt3
livetext-0.8.97 test/data/example_alpha2/source.lt3
livetext-0.8.96 test/data/example_alpha2/source.lt3
livetext-0.8.95 test/data/example_alpha2/source.lt3
livetext-0.8.94 test/data/example_alpha2/source.lt3
livetext-0.8.93 test/data/example_alpha2/source.lt3
livetext-0.8.92 test/data/example_alpha2/source.lt3
livetext-0.8.91 test/data/example_alpha2/source.lt3
livetext-0.8.89 test/data/example_alpha2/source.lt3
livetext-0.8.88 test/data/example_alpha2/source.lt3
livetext-0.8.87 test/data/example_alpha2/source.lt3
livetext-0.8.86 test/data/example_alpha2/source.lt3
livetext-0.8.85 test/data/example_alpha2/source.lt3
livetext-0.8.84 test/data/example_alpha2/source.lt3
livetext-0.8.83 test/data/example_alpha2/source.lt3
livetext-0.8.82 test/data/example_alpha2/source.lt3
livetext-0.8.81 test/data/example_alpha2/source.lt3