Archived
1
0
Fork 0

Add callback setters

This commit is contained in:
Braiden Vasco 2015-09-14 00:38:32 +00:00
parent 4242bcb144
commit 99285a06a9

View file

@ -50,4 +50,12 @@ class Tox
def on_friend_message(&block)
@on_friend_message = block
end
def on_group_invite(&block)
@on_group_invite = block
end
def on_group_message(&block)
@on_group_message = block
end
end