Sha256: 81d865864334527c99062988dc7be01610b0eb7039bebd63854e928674b9ee9d

Contents?: true

Size: 1.4 KB

Versions: 49

Compression:

Stored size: 1.4 KB

Contents

#!/usr/bin/env ruby
#
# Democracy software compilation VERSION 0.0., created on 2021-11-14 17:41:34 -0500
# Get all of this code, and all of these files, with
# gem install democracy
# Linux ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
#
# Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.





# 65 of 16 source files
module ItemList
require_relative "string__"
    class ItemList
    def initialize(list)
      @list = list
#      assert !(list.to_s.include? ' i ')
    end

    def process; end

    def to_s
      text = "#{@list.first.starting_to_s.uppercase.add_period} "

      @list[1..@list.length].each do |i|
        text += "#{q = i.to_s.uppercase.add_period} "
      end
      text = text.rstrip
    end

    def inspect
      to_s
    end
  end
end









# Feedback and donation to gregorycohenvideos@gmail.com (money transfer or Paypal)

Version data entries

49 entries across 48 versions & 6 rubygems

Version Path
ufos-1.0.94 ./discourse generator 1/itemlist.rb
aliens-1.0.94 ./discourse generator 1/itemlist.rb
freespeech-1.0.94 ./discourse generator 1/itemlist.rb
elonmusk-1.0.94 ./discourse generator 1/itemlist.rb
politics-1.0.94 ./discourse generator 1/itemlist.rb
democracy-1.0.94 ./discourse generator 1/itemlist.rb
democracy-1.0.93 ./discourse generator 1/itemlist.rb
ufos-1.0.91 ./discourse generator 1/itemlist.rb
aliens-1.0.91 ./discourse generator 1/itemlist.rb
freespeech-1.0.91 ./discourse generator 1/itemlist.rb
elonmusk-1.0.91 ./discourse generator 1/itemlist.rb
politics-1.0.91 ./discourse generator 1/itemlist.rb
politics-1.0.89 ./discourse generator 1/itemlist.rb
ufos-1.0.87 ./discourse generator 1/itemlist.rb
aliens-1.0.87 ./discourse generator 1/itemlist.rb
freespeech-1.0.87 ./discourse generator 1/itemlist.rb
elonmusk-1.0.87 ./discourse generator 1/itemlist.rb
politics-1.0.87 ./discourse generator 1/itemlist.rb
ufos-1.0.88 ./discourse generator 1/itemlist.rb
aliens-1.0.88 ./discourse generator 1/itemlist.rb