class IRB::ExtendCommand::Whereami

def execute(*)

def execute(*)
  code = irb_context.workspace.code_around_binding
  if code
    puts code
  else
    puts "The current context doesn't have code."
  end
end