Method: R10K::Module::Forge#expected_version

Defined in:
lib/r10k/module/forge.rb

#expected_versionString

Returns The expected version that the module.

Returns:

  • (String)

    The expected version that the module



61
62
63
64
65
66
# File 'lib/r10k/module/forge.rb', line 61

def expected_version
  if @expected_version == :latest
    @expected_version = @v3_module.latest_version
  end
  @expected_version
end