Sha256: f858784fab3aef128dcd6ec7f89d08a346eb73b8aa19c35d9ca75798f4374e9a
Contents?: true
Size: 313 Bytes
Versions: 9
Compression:
Stored size: 313 Bytes
Contents
module Rack::App::FrontEnd::Utils extend self def link_instance_variables(from, to) from.__send__(:instance_variables).each do |instance_variable| value = from.__send__(:instance_variable_get, instance_variable) to.__send__(:instance_variable_set, instance_variable, value) end end end
Version data entries
9 entries across 9 versions & 1 rubygems