Logo
Learn Ruby In Orbit
Menu
Public Planet Blueprints
What's New
Log In
Sign Up
Planet Blueprint #50
Andrew's Code
module AI def dominant_technology "Artificial Intelligence" end def notable_companies ["DeepMind", "OpenAI", "IBM Watson"] end def key_applications ["Natural Language Processing", "Computer Vision", "Autonomous Vehicles"] end end module Robotics def dominant_inhabitants "Robots" end def types_of_robots ["Humanoid Robots", "Industrial Robots", "Medical Robots"] end def primary_functions ["Manufacturing", "Healthcare", "Security"] end end module PlanetAppearance def color "Metallic Silver" end def landscape "Urbanized with Futuristic Architecture" end def sky "Digital Sky with Neon Grids" end def notable_landmarks ["AI Memorial Park", "Robotics Museum", "Quantum Computing Center"] end end class TechnologicalPlanet include AI include Robotics include PlanetAppearance attr_reader :planet_dominant_technology, :planet_dominant_inhabitants, :planet_notable_companies, :planet_key_applications, :planet_types_of_robots, :planet_primary_functions, :planet_color, :planet_landscape, :planet_sky, :planet_notable_landmarks def initialize @planet_dominant_technology = dominant_technology @planet_dominant_inhabitants = dominant_inhabitants @planet_notable_companies = notable_companies @planet_key_applications = key_applications @planet_types_of_robots = types_of_robots @planet_primary_functions = primary_functions @planet_color = color @planet_landscape = landscape @planet_sky = sky @planet_notable_landmarks = notable_landmarks end end
Generated Planet