Ruby - Gems and Bundler
What will be the output of this Ruby code if the gem 'json' is installed?
require 'json'
puts JSON.generate({name: 'Ruby', type: 'language'})require 'json'
puts JSON.generate({name: 'Ruby', type: 'language'})15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions