Class: SeaShipBuilder

Inherits:
ShipBuilder show all
Defined in:
lib/uss-enterprise/ship_builders.rb

Instance Attribute Summary

Attributes inherited from ShipBuilder

#available_blueprints, #blueprint

Instance Method Summary collapse

Methods inherited from ShipBuilder

#build_it, #define_blueprint

Constructor Details

#initializeSeaShipBuilder

TODO: This… there has to be a better way to go super without overwriting what I need. Problem is, I need to run line 1 here, then line 2 in super… what about ‘yield`?



33
34
35
# File 'lib/uss-enterprise/ship_builders.rb', line 33

def initialize
  super('SeaShip')
end