lib/telegram/bot/async.rb
def prepare_async_val(val)
          case val
          when true then default_async_job
          when String then Object.const_get(val)
          else val
          end
        end
# Returns default_async_job if `true` is given,
# treats String as a constant name, or bypasses any other values.
Returns default_async_job if `true` is given,
treats String as a constant name, or bypasses any other values.
Returns default_async_job if ` true ` is given treats String as a constant name or bypasses any other values .
def prepare_async_val(val)
          case val
          when true then default_async_job
          when String then Object.const_get(val)
          else val
          end
        end
def prepare_async_val ( val ) case val when true then default_async_job when String then Object . const_get ( val ) else val end end
Returns default_async_job if `true` is given,
treats String as a constant name, or bypasses any other values.
Returns default_async_job if ` true ` is given treats String as a constant name or bypasses any other values .
val