Method: Hanami::CLI::Repl::Core#prompt

Defined in:
lib/hanami/cli/repl/core.rb

#promptObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.0.0



38
39
40
# File 'lib/hanami/cli/repl/core.rb', line 38

def prompt
  "#{name}[#{env}]"
end