Sha256: 672443f948991b7c131121e8ad272ad7753eae15efb39149b16fda5186da9df8
Contents?: true
Size: 842 Bytes
Versions: 2
Compression:
Stored size: 842 Bytes
Contents
# frozen_string_literal: true require_relative '../../models/entry_group' require_relative '../base_presenter_ex' module Dsu module Presenters module Export module Messages def display_export_prompt raise NotImplementedError end private def display_cancelled_message puts apply_theme(I18n.t('subcommands.export.messages.cancelled'), theme_color: color_theme.info) end def display_exported_message puts apply_theme(I18n.t('subcommands.export.messages.exported'), theme_color: color_theme.success) end def display_exported_to_message(file_path:) puts apply_theme(I18n.t('subcommands.export.messages.exported_to', file_path: file_path), theme_color: color_theme.success) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dsu-2.3.1 | lib/dsu/presenters/export/messages.rb |
dsu-2.3.0 | lib/dsu/presenters/export/messages.rb |