Skip to content

Instantly share code, notes, and snippets.

@Hiromi-Kai
Hiromi-Kai / namechanger.rb
Last active December 27, 2015 16:19 — forked from anonymous/namechanger.rb
original source by @sasamijp
# -*- encoding: utf-8 -*-
require 'twitter'
class UpdateString < String
def delete_account_name(sasamljp)
self.sub("(#{sasamljp})",'')
end
def delete_at_mark
self.gsub(/(@|@)/,'')