Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move up pute method

  • Loading branch information...
commit 28e7d5f312c23a741059aec48afa56475f082522 1 parent c67413a
@sferik authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.