Class: Albacore::Tools::MatchedRef
- Inherits:
-
Object
- Object
- Albacore::Tools::MatchedRef
- Defined in:
- lib/albacore/tools/restore_hint_paths.rb
Overview
a tuple of a package and a ref
Instance Attribute Summary collapse
-
#package ⇒ Object
Returns the value of attribute package.
-
#ref ⇒ Object
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(package, ref) ⇒ MatchedRef
constructor
A new instance of MatchedRef.
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
#package ⇒ Object
Returns the value of attribute package.
15 16 17 |
# File 'lib/albacore/tools/restore_hint_paths.rb', line 15 def package @package end |
#ref ⇒ Object
Returns the value of attribute ref.
15 16 17 |
# File 'lib/albacore/tools/restore_hint_paths.rb', line 15 def ref @ref end |