Class: Astromapper::Builder::Belt

Inherits:
Orbit
  • Object
show all
Defined in:
lib/astromapper/builder/orbit.rb

Instance Attribute Summary

Attributes inherited from Orbit

#au, #id, #kid, #orbit_number, #port, #xsize

Attributes inherited from Base

#root_dir

Instance Method Summary collapse

Methods inherited from Orbit

#biozone?, #distant?, #inner?, #km, #limit?, #outer?, #period, #populate, #populate_biozone, #populate_inner, #populate_outer, #radii, #to_ascii, #to_s

Methods inherited from Base

#config, constitute, #names, #spawn_command, #toss

Constructor Details

#initialize(star, orbit_number) ⇒ Belt

Returns a new instance of Belt.



108
109
110
111
# File 'lib/astromapper/builder/orbit.rb', line 108

def initialize(star,orbit_number)
  super
  @kid = 'B'
end

Instance Method Details

#uwpObject



112
113
114
# File 'lib/astromapper/builder/orbit.rb', line 112

def uwp
  'XR00000-0'
end