Sha256: 3f615774d6d0b26053928324c25d894f151e092f6efafa451da8e2265ea9f725
Contents?: true
Size: 534 Bytes
Versions: 3
Compression:
Stored size: 534 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| _print '%-15s' % w } _puts 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
livetext-0.8.77 | test/data/example_alpha2/source.lt3 |
livetext-0.8.76 | test/data/example_alpha2/source.lt3 |
livetext-0.8.75 | test/data/example_alpha2/source.lt3 |