class AASM::Core::Invokers::LiteralInvoker
def exec_subject
def exec_subject raise(*record_error) unless record.respond_to?(subject, true) return record.__send__(subject) if subject_arity.zero? return record.__send__(subject, *args) if subject_arity < 0 req_args = args[0..(subject_arity - 1)] return record.__send__(subject, **req_args[0]) if req_args[0].is_a?(Hash) record.__send__(subject, *req_args) end