Complete the code to require the IRB library.
require '[1]'
The IRB library is required by using require 'irb'.
Complete the code to start a new IRB session programmatically.
IRB.[1]Use IRB.start to launch a new IRB session from Ruby code.
Fix the error in the code to customize IRB prompt with a simple string.
IRB.conf[:PROMPT_MODE] = :[1]The symbol :SIMPLE sets a basic prompt style in IRB.
Fill both blanks to define a custom IRB prompt hash with prompt and return strings.
IRB.conf[:PROMPT][:[1]] = { PROMPT_I: '[2]', RETURN: '=> ' }
Define a custom prompt named :MY_PROMPT with input prompt string '>> '.
Fill all four blanks to set IRB to use your custom prompt and start the session.
IRB.conf[:PROMPT_MODE] = :[1] IRB.conf[:PROMPT][:[1]] = { PROMPT_I: '[2]', RETURN: '=> ' } IRB.[3]
Set the prompt mode to :MY_PROMPT, define the prompt strings, and start IRB with IRB.start.
