Class: Dryad::Core::ConfigDesc

Inherits:
Object
  • Object
show all
Defined in:
lib/dryad/core/config_desc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, payload, version) ⇒ ConfigDesc

Returns a new instance of ConfigDesc.



6
7
8
9
10
# File 'lib/dryad/core/config_desc.rb', line 6

def initialize(path, payload, version)
  @path = path
  @payload = payload
  @version = version
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



4
5
6
# File 'lib/dryad/core/config_desc.rb', line 4

def path
  @path
end

#payloadObject

Returns the value of attribute payload.



4
5
6
# File 'lib/dryad/core/config_desc.rb', line 4

def payload
  @payload
end

#versionObject

Returns the value of attribute version.



4
5
6
# File 'lib/dryad/core/config_desc.rb', line 4

def version
  @version
end