Created
January 4, 2023 10:16
-
-
Save hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c to your computer and use it in GitHub Desktop.
Fix issue with whenever Ruby 3.2 and arrow up in console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a life saver! 🛟