1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-03 09:46:17 +03:00

Merge pull request #18 from bob-frost/ruby2.2.0

Error "can't dup Fixnum (TypeError)"
Этот коммит содержится в:
printercu
2016-11-13 19:16:59 +03:00
коммит произвёл GitHub
родитель ec1d5bad7d 9f2234c132
Коммит 5c299887bb
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -116,7 +116,7 @@ module Telegram
attr_reader :id
def initialize(*, id: nil, async: nil, **)
def initialize(*, id: nil, async: nil, **options)
@id = id
self.async = async
super

Просмотреть файл

@@ -5,7 +5,7 @@ module Telegram
module ClientHelpers
attr_reader :botan
def initialize(*, botan: nil, **)
def initialize(*, botan: nil, **options)
super
@botan = Botan.wrap(botan, id: id) if botan
end