摘要:
class String def has_one_in?(string_Arr) has = false string_Arr.each { |word| has= self.include?(word) if has break end } has endenddef decode_subject(sub) if sub.include?("B?") encode_str = sub.match(/=\?(.*?)\?=/).to_s encode_str.scan(/=\?(.*?)\?(B\?)(.*?)\?=/) if $1 != nil encode = $1.t 阅读全文
posted @ 2011-05-17 17:41
芬奇
阅读(843)
评论(0)
推荐(1)

浙公网安备 33010602011771号