Method invocation may produce 'NoMethodError'
Answered
I have some code:
# frozen_string_literal: true
require 'httpclient'
client = HTTPClient.new
response = client.get 'https://httpbin.org/get'
body = response.body
puts body
Why RubyMine have warning about Method invocation may produce 'NoMethodError'?

Please sign in to leave a comment.
Hello Sergey,
I've submitted the issue on our tracker so please add your vote and follow it: https://youtrack.jetbrains.com/issue/RUBY-24592