aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/skype/t/groupchat-topic-bitlbee.mock
blob: fe995448c6d5a8f92ed95694b131f331a19d3e45 (plain)
1
2
3
4
5
6
7
8
9
10
>> NOTICE *
<< NICK alice
<< USER alice alice localhost :Alice
>> PRIVMSG &bitlbee
<< PRIVMSG &bitlbee :account add skype alice foo
<< PRIVMSG &bitlbee :account skype on
>> JOIN :##cecil/$bob;4d8cc996579
>> 353 alice = ##cecil/$bob;4d8cc996579 :@alice @root
<< TOPIC ##cecil/$bob;4d8cc996579 :topic
>> TOPIC ##cecil/$bob;4d8cc996579 :topic
.8.0.10'>hotfix/0.8.0.10 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ruby19.rb
blob: 39f48d74ebfcf812b5be3072abe8f4659c8057ae (plain)
1
2
3
4
5
6
7
8
if RUBY_VERSION.to_f == 1.9
  class String
    # @see syck/lib/syck/rubytypes.rb
    def is_binary_data?
      self.count("\x00-\x7F", "^ -~\t\r\n").fdiv(self.size) > 0.3 || self.index("\x00") unless self.empty?
    end
  end
end