module Telegram::Bot::ClientStub::StubbedConstructor

Public Instance Methods

new(*args, **kwargs) click to toggle source
Calls superclass method
# File lib/telegram/bot/client_stub.rb, line 8
def new(*args, **kwargs)
  if self == ClientStub || !ClientStub.stub_all?
    super
  else
    ClientStub.new(*args, **kwargs)
  end
end