зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-06 19:15:50 +03:00
Merge pull request #18 from bob-frost/ruby2.2.0
Error "can't dup Fixnum (TypeError)"
Этот коммит содержится в:
@@ -116,7 +116,7 @@ module Telegram
|
|||||||
|
|
||||||
attr_reader :id
|
attr_reader :id
|
||||||
|
|
||||||
def initialize(*, id: nil, async: nil, **)
|
def initialize(*, id: nil, async: nil, **options)
|
||||||
@id = id
|
@id = id
|
||||||
self.async = async
|
self.async = async
|
||||||
super
|
super
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ module Telegram
|
|||||||
module ClientHelpers
|
module ClientHelpers
|
||||||
attr_reader :botan
|
attr_reader :botan
|
||||||
|
|
||||||
def initialize(*, botan: nil, **)
|
def initialize(*, botan: nil, **options)
|
||||||
super
|
super
|
||||||
@botan = Botan.wrap(botan, id: id) if botan
|
@botan = Botan.wrap(botan, id: id) if botan
|
||||||
end
|
end
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user