Translate ruby to arduino
gem install rubyino
git clone https://github.com/nimacpp/Rubyino.git
cd Rubyino
bundle install
rb = Rubyino.new("namefile")
rb.puts "hello world" #=> Keyboard.print("hello world");
rb.delay 500 #=> delay(500);
rb.ter # for give output