Skip to content

Commit

Permalink
deleted ugly Console.print
Browse files Browse the repository at this point in the history
  • Loading branch information
natano committed Oct 2, 2008
1 parent 21679bd commit 57118c6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions console.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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.