Class: Cliqr::Command::ShellBannerBuilder Private
- Inherits:
-
Object
- Object
- Cliqr::Command::ShellBannerBuilder
- Defined in:
- lib/cliqr/command/shell_banner_builder.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Used to build a banner string for shell
Instance Method Summary collapse
-
#build(context) ⇒ String
private
Build the banner based on current context.
Instance Method Details
#build(context) ⇒ String
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.
Build the banner based on current context
12 13 14 |
# File 'lib/cliqr/command/shell_banner_builder.rb', line 12 def build(context) "Starting shell for command \"#{context.command}\"" end |