class Blueprints::Blueprints

Public Class Methods

new() click to toggle source
# File lib/uss-enterprise/blueprint.rb, line 8
def initialize
  @schematics = Schematics.new
  @blueprints = Hash.new
  # Haven't decided if the parent object should have *all* the schematics, or none...
  # @blueprints = {
  #   'Sloop'                 => @schematics.sloop,
  #   'Carrier'               => @schematics.carrier,
  #   'Spaceshuttle'          => @schematics.spaceshuttle,
  #   'NX'                    => @schematics.ss_nx,
  #   'Constitution'          => @schematics.ss_constitution,
  #   'Constitution - refit'  => @schematics.ss_const_refit,
  #   'Excelsior'             => @schematics.ss_excelsior,
  #   'Ambassador'            => @schematics.ss_ambassador,
  #   'Galaxy'                => @schematics.ss_galaxy,
  #   'Sovereign'             => @schematics.ss_sovereign
  # }
end

Public Instance Methods

gimme() click to toggle source
# File lib/uss-enterprise/blueprint.rb, line 26
def gimme
  @blueprints
end