Class: RBS::Repository::VersionPath
- Inherits:
-
Object
- Object
- RBS::Repository::VersionPath
- Defined in:
- sig/repository.rbs
Instance Attribute Summary collapse
-
#gem ⇒ GemRBS
readonly
Returns the value of attribute gem.
-
#path ⇒ Pathname
readonly
Returns the value of attribute path.
-
#version ⇒ Gem::Version
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ VersionPath
constructor
A new instance of VersionPath.
Constructor Details
#initialize ⇒ VersionPath
Returns a new instance of VersionPath.
51 |
# File 'sig/repository.rbs', line 51
def initialize: (gem: GemRBS, version: Gem::Version, path: Pathname) -> void
|
Instance Attribute Details
#gem ⇒ GemRBS (readonly)
Returns the value of attribute gem.
47 48 49 |
# File 'sig/repository.rbs', line 47 def gem @gem end |
#path ⇒ Pathname (readonly)
Returns the value of attribute path.
49 50 51 |
# File 'sig/repository.rbs', line 49 def path @path end |
#version ⇒ Gem::Version (readonly)
Returns the value of attribute version.
48 49 50 |
# File 'sig/repository.rbs', line 48 def version @version end |