Class: Ryac::GemResolver::GemResolution

Inherits:
Data
  • Object
show all
Defined in:
lib/ryac/gem_resolver.rb,
sig/ryac/gem_resolver.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#entry_path ⇒ Object (readonly)

Returns the value of attribute entry_path

Returns:

  • (Object) —

    the current value of entry_path



5
6
7
# File 'lib/ryac/gem_resolver.rb', line 5

def entry_path
  @entry_path
end

#project_root ⇒ Object (readonly)

Returns the value of attribute project_root

Returns:

  • (Object) —

    the current value of project_root



5
6
7
# File 'lib/ryac/gem_resolver.rb', line 5

def project_root
  @project_root
end

#require_paths ⇒ Object (readonly)

Returns the value of attribute require_paths

Returns:

  • (Object) —

    the current value of require_paths



5
6
7
# File 'lib/ryac/gem_resolver.rb', line 5

def require_paths
  @require_paths
end

Class Method Details

.new ⇒ GemResolution

Parameters:

  • entry_path: (String)
  • project_root: (String)
  • require_paths: (Array[String])

Returns:



8
# File 'sig/ryac/gem_resolver.rbs', line 8

def self.new: (entry_path: String, project_root: String, require_paths: Array[String]) -> GemResolution