Class: RBS::Repository::VersionPath

Inherits:
Object
  • Object
show all
Defined in:
sig/repository.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVersionPath

Returns a new instance of VersionPath.

Parameters:

  • gem: (GemRBS)
  • version: (Gem::Version)
  • path: (Pathname)


51
# File 'sig/repository.rbs', line 51

def initialize: (gem: GemRBS, version: Gem::Version, path: Pathname) -> void

Instance Attribute Details

#gemGemRBS (readonly)

Returns the value of attribute gem.

Returns:



47
48
49
# File 'sig/repository.rbs', line 47

def gem
  @gem
end

#pathPathname (readonly)

Returns the value of attribute path.

Returns:

  • (Pathname)


49
50
51
# File 'sig/repository.rbs', line 49

def path
  @path
end

#versionGem::Version (readonly)

Returns the value of attribute version.

Returns:

  • (Gem::Version)


48
49
50
# File 'sig/repository.rbs', line 48

def version
  @version
end