Class: AssLauncher::Cmd::Main::SubCommands::Env Private
- Inherits:
-
Abstract::SubCommand
- Object
- Clamp::Command
- Abstract::SubCommand
- AssLauncher::Cmd::Main::SubCommands::Env
- Includes:
- Api, Abstract::Option::SearchPath
- Defined in:
- lib/ass_launcher/cmd.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.
env subcommand
Class Method Summary collapse
- ._banner ⇒ Object private
- .command_name ⇒ Object private
Instance Method Summary collapse
-
#execute ⇒ Object
private
rubocop:disable Metrics/AbcSize.
- #list(clients) ⇒ Object private
Methods included from Api
#cs, #cs_file, #cs_http, #cs_srv, #load_v8i, #ole, #thicks, #thins, #web_client
Methods included from Abstract::Option::SearchPath
Methods included from Abstract::SubCommand::Declaration
#declare_subcommands, #subcommand_
Class Method Details
._banner ⇒ Object
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.
871 872 873 |
# File 'lib/ass_launcher/cmd.rb', line 871 def self. 'Show 1C:Enterprise installations' end |
.command_name ⇒ Object
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.
867 868 869 |
# File 'lib/ass_launcher/cmd.rb', line 867 def self.command_name 'env' end |
Instance Method Details
#execute ⇒ Object
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.
rubocop:disable Metrics/AbcSize
880 881 882 883 884 885 886 887 888 |
# File 'lib/ass_launcher/cmd.rb', line 880 def execute puts Colorize.yellow '1C:Enterprise installations was searching in:' puts Colorize .green " - #{AssLauncher::Enterprise.search_paths.join("\n - ")}" puts Colorize.yellow 'Thick client installations:' puts Colorize.green list(thicks) puts Colorize.yellow 'Thin client installations:' puts Colorize.green list(thins) end |
#list(clients) ⇒ Object
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.
875 876 877 |
# File 'lib/ass_launcher/cmd.rb', line 875 def list(clients) " - v#{clients.map(&:version).sort.reverse.join("\n - v")}" end |