Sha256: 386e2059f01e7d915ecd6b1d6b3c246a008acb14e0a9fc818c7ff635fbc50ffa
Contents?: true
Size: 594 Bytes
Versions: 6
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true require_relative '../models/color_theme' require_relative '../models/configuration' require_relative '../support/color_themable' module Dsu module Views class Export include Support::ColorThemable def initialize(presenter:) @presenter = presenter end def render return presenter.display_nothing_to_export_message if presenter.nothing_to_export? response = presenter.display_export_prompt presenter.render response: response end private attr_reader :presenter end end end
Version data entries
6 entries across 6 versions & 1 rubygems