Class: VagrantPlugins::Ventriloquist::Platform
- Inherits:
-
Object
- Object
- VagrantPlugins::Ventriloquist::Platform
- Defined in:
- lib/ventriloquist/platform.rb
Direct Known Subclasses
VagrantPlugins::Ventriloquist::Platforms::Elixir, VagrantPlugins::Ventriloquist::Platforms::Erlang, VagrantPlugins::Ventriloquist::Platforms::Go, VagrantPlugins::Ventriloquist::Platforms::NodeJS, VagrantPlugins::Ventriloquist::Platforms::PhantomJS, VagrantPlugins::Ventriloquist::Platforms::Python, VagrantPlugins::Ventriloquist::Platforms::Ruby
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, config) ⇒ Platform
constructor
A new instance of Platform.
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
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/ventriloquist/platform.rb', line 4 def config @config end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/ventriloquist/platform.rb', line 4 def name @name end |