Class: Wocker::VagrantfileTemplate
- Inherits:
-
Object
- Object
- Wocker::VagrantfileTemplate
- Defined in:
- lib/wocker/vagrantfile_template.rb
Instance Attribute Summary collapse
-
#wocker_from ⇒ Object
Returns the value of attribute wocker_from.
-
#wocker_installs ⇒ Object
Returns the value of attribute wocker_installs.
-
#wocker_interface ⇒ Object
Returns the value of attribute wocker_interface.
-
#wocker_ports ⇒ Object
Returns the value of attribute wocker_ports.
-
#wocker_restart ⇒ Object
Returns the value of attribute wocker_restart.
-
#wocker_runs ⇒ Object
Returns the value of attribute wocker_runs.
Instance Method Summary collapse
Instance Attribute Details
#wocker_from ⇒ Object
Returns the value of attribute wocker_from.
4 5 6 |
# File 'lib/wocker/vagrantfile_template.rb', line 4 def wocker_from @wocker_from end |
#wocker_installs ⇒ Object
Returns the value of attribute wocker_installs.
4 5 6 |
# File 'lib/wocker/vagrantfile_template.rb', line 4 def wocker_installs @wocker_installs end |
#wocker_interface ⇒ Object
Returns the value of attribute wocker_interface.
4 5 6 |
# File 'lib/wocker/vagrantfile_template.rb', line 4 def wocker_interface @wocker_interface end |
#wocker_ports ⇒ Object
Returns the value of attribute wocker_ports.
4 5 6 |
# File 'lib/wocker/vagrantfile_template.rb', line 4 def wocker_ports @wocker_ports end |
#wocker_restart ⇒ Object
Returns the value of attribute wocker_restart.
4 5 6 |
# File 'lib/wocker/vagrantfile_template.rb', line 4 def wocker_restart @wocker_restart end |
#wocker_runs ⇒ Object
Returns the value of attribute wocker_runs.
4 5 6 |
# File 'lib/wocker/vagrantfile_template.rb', line 4 def wocker_runs @wocker_runs end |
Instance Method Details
#render(template) ⇒ Object
6 7 8 |
# File 'lib/wocker/vagrantfile_template.rb', line 6 def render(template) ERB.new(template).result(binding) end |