Skip to content
This repository
Browse code

Move up pute method

  • Loading branch information...
commit 28e7d5f312c23a741059aec48afa56475f082522 1 parent c67413a
Erik Michaels-Ober authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  bin/t
10  bin/t
@@ -4,6 +4,11 @@ require 'oauth'
4 4
 require 't'
5 5
 require 'twitter'
6 6
 
  7
+# Output message to $stderr, prefixed with the program name
  8
+def pute(message="")
  9
+  $stderr.puts "#{$0}: #{message}"
  10
+end
  11
+
7 12
 begin
8 13
   T::CLI.start(ARGV)
9 14
 rescue Interrupt
@@ -20,8 +25,3 @@ rescue Twitter::Error => error
20 25
   pute error.message
21 26
   exit 1
22 27
 end
23  
-
24  
-# Output message to $stderr, prefixed with the program name
25  
-def pute(message="")
26  
-  $stderr.puts "#{$0}: #{message}"
27  
-end

0 notes on commit 28e7d5f

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