Class: OpsWalrus::DynamicPackageImportReference
- Inherits:
-
ImportReference
- Object
- ImportReference
- OpsWalrus::DynamicPackageImportReference
- Defined in:
- lib/opswalrus/runtime_environment.rb
Instance Attribute Summary collapse
-
#package_reference ⇒ Object
Returns the value of attribute package_reference.
Attributes inherited from ImportReference
Instance Method Summary collapse
-
#initialize(local_name, package_reference) ⇒ DynamicPackageImportReference
constructor
A new instance of DynamicPackageImportReference.
- #summary ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(local_name, package_reference) ⇒ DynamicPackageImportReference
Returns a new instance of DynamicPackageImportReference.
52 53 54 55 |
# File 'lib/opswalrus/runtime_environment.rb', line 52 def initialize(local_name, package_reference) super(local_name) @package_reference = package_reference end |
Instance Attribute Details
#package_reference ⇒ Object
Returns the value of attribute package_reference.
51 52 53 |
# File 'lib/opswalrus/runtime_environment.rb', line 51 def package_reference @package_reference end |
Instance Method Details
#summary ⇒ Object
59 60 61 |
# File 'lib/opswalrus/runtime_environment.rb', line 59 def summary "#{local_name}: #{package_reference.summary}" end |
#to_s ⇒ Object
56 57 58 |
# File 'lib/opswalrus/runtime_environment.rb', line 56 def to_s "DynamicPackageImportReference(local_name=#{@local_name}, package_reference=#{@package_reference})" end |