Sha256: 43f8662c9b8fd15e3cad66bed694269cf400b7cc9b430093392f702fa0e03b88
Contents?: true
Size: 356 Bytes
Versions: 8
Compression:
Stored size: 356 Bytes
Contents
module Reactor module Plans module Prepared def error(message) "#{self.class.name}: #{message}" end def separate_arguments(*args) array_args = args.select { |a| !a.is_a?(Hash) } hash_args = args.select { |a| a.is_a?(Hash) }.reduce({}, &:merge) [array_args, hash_args] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems