Class: VagrantPlugins::RemoteForward::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-remote-forward/config.rb

Defined Under Namespace

Classes: Forward

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
11
# File 'lib/vagrant-remote-forward/config.rb', line 8

def initialize
  @forwards = []
  # @widgets = UNSET_VALUE
end

Instance Attribute Details

#add(port, host, remoteport) ⇒ Object

Returns the value of attribute add.



6
7
8
# File 'lib/vagrant-remote-forward/config.rb', line 6

def add
  @add
end

#forwardsObject

Returns the value of attribute forwards.



6
7
8
# File 'lib/vagrant-remote-forward/config.rb', line 6

def forwards
  @forwards
end

Instance Method Details

#finalize!Object



17
18
19
# File 'lib/vagrant-remote-forward/config.rb', line 17

def finalize!
  # @widgets = 0 if @widgets == UNSET_VALUE
end