#!/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. # 69 of 16 source files module Item require_relative "string__" require_relative "./because" require_relative "./evidence" require_relative "./however" Because = Because::Because However = However::However Evidence = Evidence::Evidence class Item def initialize(functions, inputs) inputs.each_with_index do |in_, i| if in_.start_with? 'that' end # puts in_ send functions[i], in_ end end def personally(_argument) list = ['I personally', 'personally, I', 'I think I', 'in my opinion, I', 'to me, I'] list += (['I'] * list.length) @personally = "#{list.sample} " end def however(a) @however = However.new(a) end def because(a) @because = Because.new(a) end def evidence(a) @evidence = Evidence.new(a) end def starting_to_s [@personally, @sentiment, @because, @evidence].join end def to_s a = [@however, @personally, @sentiment, @because, @evidence].join end def inspect to_s end end end # Feedback and donation to gregorycohenvideos@gmail.com (money transfer or Paypal)