Sha256: b6fd68c812abba888f1da2962958d62468902d309ccf1d1d78fd3a0823865de9
Contents?: true
Size: 386 Bytes
Versions: 49
Compression:
Stored size: 386 Bytes
Contents
# -*- encoding : utf-8 -*- 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) return array_args, hash_args end end end end
Version data entries
49 entries across 49 versions & 2 rubygems