Created
January 11, 2012 08:48
-
-
Save daicham/1593777 to your computer and use it in GitHub Desktop.
ruby code on windows bat file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
ruby -S -x %0 %* | |
goto end | |
#! ruby | |
# some ruby code | |
__END__ | |
:end | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment