class AASM::Core::State
def initialize_copy(orig)
def initialize_copy(orig) super @options = {} orig.options.each_pair do |name, setting| @options[name] = if setting.is_a?(Hash) || setting.is_a?(Array) setting.dup else setting end end end
def initialize_copy(orig) super @options = {} orig.options.each_pair do |name, setting| @options[name] = if setting.is_a?(Hash) || setting.is_a?(Array) setting.dup else setting end end end