Class: OpsWalrus::DirectoryReference

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, 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

#dirnameObject

Returns the value of attribute dirname.



37
38
39
# File 'lib/opswalrus/runtime_environment.rb', line 37

def dirname
  @dirname
end

Instance Method Details

#summaryObject



45
46
47
# File 'lib/opswalrus/runtime_environment.rb', line 45

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

#to_sObject



42
43
44
# File 'lib/opswalrus/runtime_environment.rb', line 42

def to_s
  "DirectoryReference(local_name=#{@local_name}, dirname=#{@dirname})"
end