Class: OpsWalrus::DirectoryReference
- Inherits:
-
ImportReference
- Object
- ImportReference
- OpsWalrus::DirectoryReference
- Defined in:
- lib/opswalrus/runtime_environment.rb
Instance Attribute Summary collapse
-
#dirname ⇒ Object
Returns the value of attribute dirname.
Attributes inherited from ImportReference
Instance Method Summary collapse
-
#initialize(local_name, dirname) ⇒ DirectoryReference
constructor
A new instance of DirectoryReference.
- #summary ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(local_name, dirname) ⇒ DirectoryReference
Returns a new instance of DirectoryReference.
38 39 40 41 |
# File 'lib/opswalrus/runtime_environment.rb', line 38 def initialize(local_name, dirname) super(local_name) @dirname = dirname end |
Instance Attribute Details
#dirname ⇒ Object
Returns the value of attribute dirname.
37 38 39 |
# File 'lib/opswalrus/runtime_environment.rb', line 37 def dirname @dirname end |
Instance Method Details
#summary ⇒ Object
45 46 47 |
# File 'lib/opswalrus/runtime_environment.rb', line 45 def summary "#{local_name}: #{dirname}" end |
#to_s ⇒ Object
42 43 44 |
# File 'lib/opswalrus/runtime_environment.rb', line 42 def to_s "DirectoryReference(local_name=#{@local_name}, dirname=#{@dirname})" end |