Sha256: 057bba5d35a0cb5b4d52ff069fe4a8677d31527fc20a0c4884580edfc56a574b

Contents?: true

Size: 979 Bytes

Versions: 10

Compression:

Stored size: 979 Bytes

Contents

module ZTK

  # Report Error Class
  #
  # @author Zachary Patten <zpatten AT jovelabs DOT io>
  class ReportError < Error; end

  # Report Class
  #
  # This class contains tools for generating spreadsheet or key-value list
  # styled output.  Report methods are currently meant to be interchangeable;
  # that is one should be able to just switch which method they are calling
  # to change the output type.
  #
  # The idea here is that everything is auto-sized and simply displayed.
  #
  # @author Zachary Patten <zpatten AT jovelabs DOT io>
  class Report < ZTK::Base
    require 'socket'
    require 'timeout'

    require 'ztk/report/list'
    require 'ztk/report/private'
    require 'ztk/report/spreadsheet'

    include ZTK::Report::List
    include ZTK::Report::Spreadsheet

    # @param [Hash] configuration Configuration options hash.
    def initialize(configuration={})
      super(configuration)
    end


  private

    include ZTK::Report::Private

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ztk-3.3.2 lib/ztk/report.rb
ztk-3.3.1 lib/ztk/report.rb
ztk-3.3.0 lib/ztk/report.rb
ztk-3.2.6 lib/ztk/report.rb
ztk-3.2.5 lib/ztk/report.rb
ztk-3.2.4 lib/ztk/report.rb
ztk-3.2.3 lib/ztk/report.rb
ztk-3.2.2 lib/ztk/report.rb
ztk-3.2.1 lib/ztk/report.rb
ztk-3.2.0 lib/ztk/report.rb