Logic for the :copy_on_change parameter
# File lib/bindata/choice.rb, line 173 def copy_previous_value(obj) current_selection = selection prev = get_previous_choice(current_selection) obj.assign(prev) unless prev.nil? remember_current_selection(current_selection) end
# File lib/bindata/choice.rb, line 167 def current_choice obj = super copy_previous_value(obj) obj end
Generated with the Darkfish Rdoc Generator 2.