Sha256: bec6dc85d5bf1c7b2ed33e7707320807c7d86348a72fadf675ad2404a046bc39

Contents?: true

Size: 506 Bytes

Versions: 6

Compression:

Stored size: 506 Bytes

Contents

# frozen_string_literal: true

require_relative "../application"
require_relative "concept_ai_displayer"
require_relative "code_displayer"
require_relative "problem_displayer"

module StatsDisplayer
  # @param data (Hash) With concept_ai, code and problem list
  def self.show(data)
    return unless Application.instance.config["global"]["show_mode"]

    ConceptAIDisplayer.new.call(data[:concepts_ai])
    CodeDisplayer.new.call(data[:codes_ai])
    ProblemDisplayer.new.call(data[:problems])
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
asker-tool-2.9.4 lib/asker/displayer/stats_displayer.rb
asker-tool-2.9.3 lib/asker/displayer/stats_displayer.rb
asker-tool-2.9.2 lib/asker/displayer/stats_displayer.rb
asker-tool-2.9.1 lib/asker/displayer/stats_displayer.rb
asker-tool-2.9.0 lib/asker/displayer/stats_displayer.rb
asker-tool-2.8.0 lib/asker/displayer/stats_displayer.rb