Module: AssLauncher::Cmd::Abstract::ClientMode Private
- Included in:
- BinaryWrapper, Cli, Main::SubCommands::Web::SubCommands::Uri
- Defined in:
- lib/ass_launcher/cmd.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Mixin
Instance Method Summary collapse
- #client ⇒ Object private
- #mode ⇒ Object private
- #parrent_command ⇒ Object private
Instance Method Details
#client ⇒ 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.
124 125 126 127 128 129 130 131 132 |
# File 'lib/ass_launcher/cmd.rb', line 124 def client case parrent_command when 'designer' then :thick when 'thick' then :thick when 'thin' then :thin when 'web' then :web when 'makeib' then :thick end end |
#mode ⇒ 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.
134 135 136 137 138 139 140 141 142 |
# File 'lib/ass_launcher/cmd.rb', line 134 def mode case parrent_command when 'designer' then :designer when 'thick' then :enterprise when 'thin' then :enterprise when 'web' then :webclient when 'makeib' then :createinfobase end end |
#parrent_command ⇒ 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.
120 121 122 |
# File 'lib/ass_launcher/cmd.rb', line 120 def parrent_command invocation_path.to_s.split[1] end |