class AASM::Base
def apply_ruby2_keyword(klass, sym)
Experimental RBS support (using type sampling data from the type_fusion project).
def apply_ruby2_keyword: (Class klass, Symbol sym) -> nil
This signature was generated using 1 sample from 1 application.
def apply_ruby2_keyword(klass, sym) if RUBY_VERSION >= '2.7.1' if klass.instance_method(sym).parameters.find { |type, _| type.to_s.start_with?('rest') } # If there is a place where you are receiving in *args, do ruby2_keywords. klass.module_eval do ruby2_keywords sym end end end end