Sha256: 3e03ba8ccd6b1924249757e6e8f4708533251aa11ada55db3dacf1d2929bd0ff
Contents?: true
Size: 1.05 KB
Versions: 46
Compression:
Stored size: 1.05 KB
Contents
module ZTK # Report Error Class # # @author Zachary Patten <zachary AT jovelabs DOT com> 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 <zachary AT jovelabs DOT com> 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({ }.merge(configuration)) config.ui.logger.debug { "config=#{config.send(:table).inspect}" } end private include ZTK::Report::Private end end
Version data entries
46 entries across 46 versions & 1 rubygems