Sha256: bbba7245270295545fec8599ecf68cd0487f0395763a4120e4d65d3d8385b9b2
Contents?: true
Size: 255 Bytes
Versions: 76
Compression:
Stored size: 255 Bytes
Contents
# require "eitil_core/argument_helpers/args_to_ivars" Kernel.module_eval do def args_to_ivars(local_binding, *local_vars) local_vars.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