Class: OpsWalrus::OpsFileReference

Inherits:
ImportReference show all
Defined in:
lib/opswalrus/runtime_environment.rb

Instance Attribute Summary collapse

Attributes inherited from ImportReference

#local_name

Instance Method Summary collapse

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_pathObject

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

#summaryObject



73
74
75
# File 'lib/opswalrus/runtime_environment.rb', line 73

def summary
  "#{local_name}: #{ops_file_path}"
end

#to_sObject



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