Class: Astromapper::Builder::Belt
- 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
Instance Method Summary collapse
-
#initialize(star, orbit_number) ⇒ Belt
constructor
A new instance of Belt.
- #uwp ⇒ Object
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
#uwp ⇒ Object
112 113 114 |
# File 'lib/astromapper/builder/orbit.rb', line 112 def uwp 'XR00000-0' end |