Class: OpsWalrus::OpsFileReference
- Inherits:
-
ImportReference
- Object
- ImportReference
- OpsWalrus::OpsFileReference
- Defined in:
- lib/opswalrus/runtime_environment.rb
Instance Attribute Summary collapse
-
#ops_file_path ⇒ Object
Returns the value of attribute ops_file_path.
Attributes inherited from ImportReference
Instance Method Summary collapse
-
#initialize(local_name, ops_file_path) ⇒ OpsFileReference
constructor
A new instance of OpsFileReference.
- #summary ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(local_name, ops_file_path) ⇒ OpsFileReference
Returns a new instance of OpsFileReference.
66 67 68 69 |
# File 'lib/opswalrus/runtime_environment.rb', line 66 def initialize(local_name, ops_file_path) super(local_name) @ops_file_path = ops_file_path end |
Instance Attribute Details
#ops_file_path ⇒ Object
Returns the value of attribute ops_file_path.
65 66 67 |
# File 'lib/opswalrus/runtime_environment.rb', line 65 def ops_file_path @ops_file_path end |
Instance Method Details
#summary ⇒ Object
73 74 75 |
# File 'lib/opswalrus/runtime_environment.rb', line 73 def summary "#{local_name}: #{ops_file_path}" end |
#to_s ⇒ Object
70 71 72 |
# File 'lib/opswalrus/runtime_environment.rb', line 70 def to_s "DirectoryReference(local_name=#{@local_name}, ops_file_path=#{@ops_file_path})" end |