class WhatsupGithub::Table

Table containing Rows

Public Instance Methods

generate_output_from(content) click to toggle source

def initialize(since)

@collector = RowCollector.new(since: since)

end

# File lib/whatsup_github/table.rb, line 12
def generate_output_from(content)
  content.collect do |object|
    "| #{object.description} | #{object.versions} | #{object.type} | #{object.date} |\n".tr_s(' ', ' ')
  end.join
end