class UniverseSimulate::Universe
Creates a class for universe simulation methods.
Public Class Methods
animal_life()
click to toggle source
Creates conditions for animal life.
# File lib/universe_simulate.rb, line 43 def self.animal_life print "The dominent lifeforms are currently animal life. " def self.sentient # Creates conditions for sentient animal life. print "These animals are sentient and " def self.language puts "speak in different animal languages." end end def self.non_sentient puts "and are not currently sentient." end end
carbon_life()
click to toggle source
# File lib/universe_simulate.rb, line 22 def self.carbon_life # Create conditions for carbon lifeforms. print "The dominant lifeforms are made of carbon. " # Creates conditions for plant life. def self.plant_life print "Such lifeforms are currently plant life. " def self.sentient # Creates conditions for sentient plant life. print "The plants and are aware of their own self-being " def self.language puts "and speak in plant languages." end end def self.non_sentient # Creates conditions for non sentient plant life. puts ", however these plants are not sentient." end end # Creates conditions for animal life. def self.animal_life print "The dominent lifeforms are currently animal life. " def self.sentient # Creates conditions for sentient animal life. print "These animals are sentient and " def self.language puts "speak in different animal languages." end end def self.non_sentient puts "and are not currently sentient." end end end
create_life()
click to toggle source
# File lib/universe_simulate.rb, line 19 def self.create_life # Create conditions for lifeforms. print "and there are conditions for life. " def self.carbon_life # Create conditions for carbon lifeforms. print "The dominant lifeforms are made of carbon. " # Creates conditions for plant life. def self.plant_life print "Such lifeforms are currently plant life. " def self.sentient # Creates conditions for sentient plant life. print "The plants and are aware of their own self-being " def self.language puts "and speak in plant languages." end end def self.non_sentient # Creates conditions for non sentient plant life. puts ", however these plants are not sentient." end end # Creates conditions for animal life. def self.animal_life print "The dominent lifeforms are currently animal life. " def self.sentient # Creates conditions for sentient animal life. print "These animals are sentient and " def self.language puts "speak in different animal languages." end end def self.non_sentient puts "and are not currently sentient." end end end def self.silicone_life # Create conditions for silicone lifeforms. print "These lifeforms are made of silicone; " # Create conditions for macro computers. def self.macro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end # Create conditions for micro computers. def self.micro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end end end
healthy_universe()
click to toggle source
Creates conditions for a healthy universe.
# File lib/universe_simulate.rb, line 16 def self.healthy_universe print "This current universe state is: healthy, " def self.create_life # Create conditions for lifeforms. print "and there are conditions for life. " def self.carbon_life # Create conditions for carbon lifeforms. print "The dominant lifeforms are made of carbon. " # Creates conditions for plant life. def self.plant_life print "Such lifeforms are currently plant life. " def self.sentient # Creates conditions for sentient plant life. print "The plants and are aware of their own self-being " def self.language puts "and speak in plant languages." end end def self.non_sentient # Creates conditions for non sentient plant life. puts ", however these plants are not sentient." end end # Creates conditions for animal life. def self.animal_life print "The dominent lifeforms are currently animal life. " def self.sentient # Creates conditions for sentient animal life. print "These animals are sentient and " def self.language puts "speak in different animal languages." end end def self.non_sentient puts "and are not currently sentient." end end end def self.silicone_life # Create conditions for silicone lifeforms. print "These lifeforms are made of silicone; " # Create conditions for macro computers. def self.macro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end # Create conditions for micro computers. def self.micro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end end end def self.no_lifeforms # Create conditions for no lifeforms. puts "but no life forms." end end
language()
click to toggle source
# File lib/universe_simulate.rb, line 32 def self.language puts "and speak in plant languages." end
macro_computers()
click to toggle source
Create conditions for macro computers.
# File lib/universe_simulate.rb, line 64 def self.macro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end
micro_computers()
click to toggle source
Create conditions for micro computers.
# File lib/universe_simulate.rb, line 79 def self.micro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end
no_lifeforms()
click to toggle source
# File lib/universe_simulate.rb, line 95 def self.no_lifeforms # Create conditions for no lifeforms. puts "but no life forms." end
non_sentient()
click to toggle source
# File lib/universe_simulate.rb, line 37 def self.non_sentient # Creates conditions for non sentient plant life. puts ", however these plants are not sentient." end
plant_life()
click to toggle source
Creates conditions for plant life.
# File lib/universe_simulate.rb, line 26 def self.plant_life print "Such lifeforms are currently plant life. " def self.sentient # Creates conditions for sentient plant life. print "The plants and are aware of their own self-being " def self.language puts "and speak in plant languages." end end def self.non_sentient # Creates conditions for non sentient plant life. puts ", however these plants are not sentient." end end
sentient()
click to toggle source
# File lib/universe_simulate.rb, line 29 def self.sentient # Creates conditions for sentient plant life. print "The plants and are aware of their own self-being " def self.language puts "and speak in plant languages." end end
silicone_life()
click to toggle source
# File lib/universe_simulate.rb, line 60 def self.silicone_life # Create conditions for silicone lifeforms. print "These lifeforms are made of silicone; " # Create conditions for macro computers. def self.macro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end # Create conditions for micro computers. def self.micro_computers print "the macro computers " def self.sentient def self.language puts "currently speak in different programming languages." end end def self.non_sentient puts "are not currently sentient enough to speak." end end end
toxic_universe()
click to toggle source
Creates conditions for a toxic universe.
# File lib/universe_simulate.rb, line 11 def self.toxic_universe puts "The current universe state is: Toxic." end