Class: Build::Dependency::Resolver
- Inherits:
-
Object
- Object
- Build::Dependency::Resolver
- Defined in:
- lib/build/dependency/resolver.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#conflicts ⇒ Object
readonly
Returns the value of attribute conflicts.
-
#ordered ⇒ Object
readonly
Returns the value of attribute ordered.
-
#provisions ⇒ Object
readonly
Returns the value of attribute provisions.
-
#resolved ⇒ Object
readonly
Returns the value of attribute resolved.
-
#unresolved ⇒ Object
readonly
Returns the value of attribute unresolved.
Instance Method Summary collapse
- #freeze ⇒ Object
-
#initialize ⇒ Resolver
constructor
A new instance of Resolver.
Constructor Details
#initialize ⇒ Resolver
Returns a new instance of Resolver.
38 39 40 41 42 43 44 |
# File 'lib/build/dependency/resolver.rb', line 38 def initialize @resolved = {} @ordered = [] @provisions = [] @unresolved = [] @conflicts = {} end |
Instance Attribute Details
#conflicts ⇒ Object (readonly)
Returns the value of attribute conflicts.
50 51 52 |
# File 'lib/build/dependency/resolver.rb', line 50 def conflicts @conflicts end |
#ordered ⇒ Object (readonly)
Returns the value of attribute ordered.
47 48 49 |
# File 'lib/build/dependency/resolver.rb', line 47 def ordered @ordered end |
#provisions ⇒ Object (readonly)
Returns the value of attribute provisions.
48 49 50 |
# File 'lib/build/dependency/resolver.rb', line 48 def provisions @provisions end |
#resolved ⇒ Object (readonly)
Returns the value of attribute resolved.
46 47 48 |
# File 'lib/build/dependency/resolver.rb', line 46 def resolved @resolved end |
#unresolved ⇒ Object (readonly)
Returns the value of attribute unresolved.
49 50 51 |
# File 'lib/build/dependency/resolver.rb', line 49 def unresolved @unresolved end |
Instance Method Details
#freeze ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/build/dependency/resolver.rb', line 52 def freeze return unless frozen? @resolved.freeze @ordered.freeze @provisions.freeze @unresolved.freeze @conflicts.freeze super end |