Skip to content

Instantly share code, notes, and snippets.

@itochan
Created June 4, 2011 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itochan/1007711 to your computer and use it in GitHub Desktop.
Save itochan/1007711 to your computer and use it in GitHub Desktop.
TIGで使えるうざい改行tweetを半角スペースに変換する素晴らしいDLRスクリプト
#!/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