Skip to content
Browse files

deleted ugly Console.print

  • Loading branch information...
1 parent 21679bd commit 57118c661ffb064c58dee51af86bb81311bffc2b @natano natano committed Oct 2, 2008
Showing with 1 addition and 5 deletions.
  1. +1 −5 console.rb
View
6 console.rb
@@ -14,10 +14,6 @@ def color(*arg) # colorize a string
end
class Console
- def self.print s
- Kernel.print "#{s}\n"
- end
-
def self.clear # reset the terminal
Kernel.print "\ec" # *42*
end
@@ -131,4 +127,4 @@ def self.position=(*arg)
end
Kernel.print "\e[" + row.to_s + ";" + col.to_s + "H"
end
-end
+end

0 comments on commit 57118c6

Please sign in to comment.
Something went wrong with that request. Please try again.