Class: Buildserver::BuildingBlock
- Inherits:
-
Object
- Object
- Buildserver::BuildingBlock
- Defined in:
- lib/buildserver/building_block.rb
Instance Method Summary collapse
- #build!(config, instance, other_instances) ⇒ Object
- #exposes_services ⇒ Object
- #external_ports ⇒ Object
- #internal_ports ⇒ Object
Instance Method Details
#build!(config, instance, other_instances) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/buildserver/building_block.rb', line 6 def build!(config, instance, other_instances) reset! @config = config build(instance, other_instances) [@build_commands, @after_build_commands] end |
#exposes_services ⇒ Object
15 16 17 |
# File 'lib/buildserver/building_block.rb', line 15 def exposes_services [] end |
#external_ports ⇒ Object
19 20 21 |
# File 'lib/buildserver/building_block.rb', line 19 def external_ports [] end |
#internal_ports ⇒ Object
23 24 25 |
# File 'lib/buildserver/building_block.rb', line 23 def internal_ports [] end |