Module: AssLauncher::Cmd::Abstract::Option::Version Private

Included in:
Cli, Run, Main::SubCommands::MakeIb
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 Command option

Class Method Summary collapse

Class Method Details

.included(base) ⇒ 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.



245
246
247
248
249
250
251
252
# File 'lib/ass_launcher/cmd.rb', line 245

def self.included(base)
  base.option %w[--version -v], 'VERSION',
              "specify 1C:Enterprise version requiremet.\n"\
              " Expected full version number or only major\n"\
              ' part of version number' do |s|
    Gem::Version.new(s)
  end
end