Class: Podrb::Commands::Init::Output
- Inherits:
-
BaseOutput
- Object
- BaseOutput
- Podrb::Commands::Init::Output
- Defined in:
- lib/podrb/commands/init/output.rb
Instance Method Summary collapse
Methods inherited from BaseOutput
Constructor Details
This class inherits a constructor from Podrb::Commands::BaseOutput
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/podrb/commands/init/output.rb', line 7 def call case @context[:details] when :already_initialized <<~OUTPUT Podrb already was initialized! OUTPUT when :successfully_initialized <<~OUTPUT Podrb successfully initialized! OUTPUT when :home_not_found <<~OUTPUT It seems that $HOME is empty. Is your home directory set up correctly? OUTPUT when :cannot_create_initial_config <<~OUTPUT Podrb couldn't create the config files. OUTPUT end end |