Skip to content

Instantly share code, notes, and snippets.

@hirogeek
Created January 4, 2023 10:16
Show Gist options
  • Save hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c to your computer and use it in GitHub Desktop.
Save hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c to your computer and use it in GitHub Desktop.
Fix issue with whenever Ruby 3.2 and arrow up in console
# frozen_string_literal: true
module Whenever
class JobList
attr_reader :roles
def self.respond_to?(name, include_private = false)
@set_variables&.has_key?(name) || super
end
end
end
@brandondrew
Copy link

This is a life saver! 🛟

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment