Browse files

Move up pute method

  • Loading branch information...
1 parent c67413a commit 28e7d5f312c23a741059aec48afa56475f082522 @sferik committed Jul 30, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 bin/t
View
10 bin/t
@@ -4,6 +4,11 @@ require 'oauth'
require 't'
require 'twitter'
+# Output message to $stderr, prefixed with the program name
+def pute(message="")
+ $stderr.puts "#{$0}: #{message}"
+end
+
begin
T::CLI.start(ARGV)
rescue Interrupt
@@ -20,8 +25,3 @@ rescue Twitter::Error => error
pute error.message
exit 1
end
-
-# Output message to $stderr, prefixed with the program name
-def pute(message="")
- $stderr.puts "#{$0}: #{message}"
-end

0 comments on commit 28e7d5f

Please sign in to comment.