Created
June 4, 2011 08:01
-
-
Save itochan/1007711 to your computer and use it in GitHub Desktop.
TIGで使えるうざい改行tweetを半角スペースに変換する素晴らしいDLRスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
Session.pre_send_message_timeline_status do |sender, e| | |
e.text = e.text.gsub(/\n/, " ") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment