lib/telegram/bot.rb in telegram-bot-ruby-1.0.0 vs lib/telegram/bot.rb in telegram-bot-ruby-2.0.0
- old
+ new
@@ -23,7 +23,8 @@
end
end
loader = Zeitwerk::Loader.new
loader.inflector = Zeitwerk::GemInflector.new(__FILE__)
+loader.inflector.inflect('endpoints' => 'ENDPOINTS')
loader.push_dir("#{__dir__}/bot", namespace: Telegram::Bot)
loader.setup