Logo
Learn Ruby In Orbit
Menu
Public Planet Blueprints
What's New
Log In
Sign Up
Planet Blueprint #37
Andrew's Code
class Planet def initialize @color = 'yellow' @size = 'xl' @rings = true @number_of_rings = 3 @atmosphere = 'gaseous storms' @number_of_moons = 4 end def is_habitable? true end def species_type "aliens" end end
Generated Planet