Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Young
committed
May 7, 2010
1 parent
9581e2a
commit 69d10f7
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'rubygems' | ||
require 'zalgo' | ||
|
||
begin | ||
require 'zalgo' | ||
rescue LoadError | ||
require 'lib/zalgo/zalgo' | ||
if ARGV[0] | ||
puts Zalgo.he_comes ARGV.join(' ') | ||
else | ||
puts Zalgo.he_comes STDIN.read | ||
end | ||
|
||
puts Zalgo.he_comes ARGV.join(' ') |