Class: VagrantPlugins::Ventriloquist::Platform

Inherits:
Object
  • Object
show all
Defined in:
lib/ventriloquist/platform.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, config) ⇒ Platform

Returns a new instance of Platform.



6
7
8
# File 'lib/ventriloquist/platform.rb', line 6

def initialize(name, config)
  @name, @config = name, config
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



4
5
6
# File 'lib/ventriloquist/platform.rb', line 4

def config
  @config
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/ventriloquist/platform.rb', line 4

def name
  @name
end