Sha256: 80fcc0d090ff2a674f02da88ae69bed208eaf472d9f7eeb3ac88d2680503388b
Contents?: true
Size: 269 Bytes
Versions: 76
Compression:
Stored size: 269 Bytes
Contents
# require "eitil_core/argument_helpers/all_args_to_ivars" Kernel.module_eval do def all_args_to_ivars(local_binding) local_binding.local_variables.each do |lvar| instance_variable_set("@#{lvar}", local_binding.local_variable_get(lvar)) end end end
Version data entries
76 entries across 76 versions & 1 rubygems