Sha256: c7b7fa4c1c781cae73dd4f877b64124c0acc37df354617f400bee26b0aaa7f05
Contents?: true
Size: 576 Bytes
Versions: 16
Compression:
Stored size: 576 Bytes
Contents
.def alpha cols = api.args.first cols = "1" if cols == "" cols = cols.to_i raise "Columns must be 1-5" unless cols.between?(1,5) text = api.body.join("\n") text.gsub!(/\n/, " ") words = text.split.sort words.each_slice(cols) do |row| row.each {|w| api.out! '%-15s' % w } api.out end api.optional_blank_line .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
16 entries across 16 versions & 1 rubygems