Class: Albacore::Tools::MatchedRef

Inherits:
Object
  • Object
show all
Defined in:
lib/albacore/tools/restore_hint_paths.rb

Overview

a tuple of a package and a ref

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(package, ref) ⇒ MatchedRef

Returns a new instance of MatchedRef.



16
17
18
# File 'lib/albacore/tools/restore_hint_paths.rb', line 16

def initialize package, ref
  @package, @ref = package, ref
end

Instance Attribute Details

#packageObject

Returns the value of attribute package.



15
16
17
# File 'lib/albacore/tools/restore_hint_paths.rb', line 15

def package
  @package
end

#refObject

Returns the value of attribute ref.



15
16
17
# File 'lib/albacore/tools/restore_hint_paths.rb', line 15

def ref
  @ref
end