Advertisement
Paetilium

RoboEngine(V1)

Jan 21st, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.33 KB | None | 0 0
  1. class RoboEngine
  2.  
  3.   def initialize
  4.    puts "Initializing..."
  5.    Init.action1
  6.   end
  7.  
  8. end
  9.  
  10. class Initialization
  11.  
  12.   def action1
  13.     puts "Initialized!"
  14.     sleep(0.3)
  15.     puts "Loading Thought Process..."
  16.   end
  17. end
  18.  
  19. Init = Initialization.new
  20.  
  21. #Needs the following to work.
  22.  
  23. Robo = RoboEngine.new
  24.  
  25. #Finishes class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement