Class: Build::Dependency::Alias
- Inherits:
-
Struct
- Object
- Struct
- Build::Dependency::Alias
- Defined in:
- lib/build/dependency/provider.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
Returns the value of attribute dependencies.
-
#name ⇒ Object
Returns the value of attribute name.
-
#provider ⇒ Object
Returns the value of attribute provider.
Instance Method Summary collapse
Instance Attribute Details
#dependencies ⇒ Object
Returns the value of attribute dependencies
40 41 42 |
# File 'lib/build/dependency/provider.rb', line 40 def dependencies @dependencies end |
#name ⇒ Object
Returns the value of attribute name
40 41 42 |
# File 'lib/build/dependency/provider.rb', line 40 def name @name end |
#provider ⇒ Object
Returns the value of attribute provider
40 41 42 |
# File 'lib/build/dependency/provider.rb', line 40 def provider @provider end |
Instance Method Details
#alias? ⇒ Boolean
41 42 43 |
# File 'lib/build/dependency/provider.rb', line 41 def alias? true end |
#to_s ⇒ Object
45 46 47 |
# File 'lib/build/dependency/provider.rb', line 45 def to_s "provides #{name.inspect} -> #{dependencies.collect(&:inspect).join(', ')}" end |