Module: AssLauncher::Enterprise::Cli::ArgumentsBuilder::IncludeConnectionString

Defined in:
lib/ass_launcher/enterprise/cli/arguments_builder.rb

Overview

DSL method #connection_string for top level arguments builder

Instance Method Summary collapse

Instance Method Details

#connection_string(conn_str) ⇒ Object

DLS method for convert connection string into 1C:Enterprise cli arguments and add them on the head of arguments array.



70
71
72
73
74
75
# File 'lib/ass_launcher/enterprise/cli/arguments_builder.rb', line 70

def connection_string(conn_str)
  conn_str = AssLauncher::Support::ConnectionString\
             .new(conn_str) if conn_str.is_a? String
  args = conn_str_to_args(conn_str)
  self.builded_args = args + builded_args
end