Class: Dsu::Views::Project::RenameByNumber

Inherits:
Rename
  • Object
show all
Defined in:
lib/dsu/views/project/rename_by_number.rb

Instance Attribute Summary

Attributes inherited from Rename

#presenter

Instance Method Summary collapse

Methods inherited from Rename

#initialize, #render

Methods included from Support::ColorThemable

apply_theme, #prompt_with_options

Methods included from Support::Ask

#ask_while, #yes?

Constructor Details

This class inherits a constructor from Dsu::Views::Project::Rename

Instance Method Details

#display_project_does_not_existObject



13
14
15
16
17
# File 'lib/dsu/views/project/rename_by_number.rb', line 13

def display_project_does_not_exist
  message = I18n.t('subcommands.project.messages.number_does_not_exist',
    project_number: presenter.project_number)
  puts apply_theme(message, theme_color: color_theme.error)
end