lib/kanri/kanri.rb
# Copies instance variables from the `dsl` to the `target`
# @param dsl [RoleDSL] the DSL to convert
# @param target [Object] the target of the conversion
# @return [void]
Copies instance variables from the `dsl` to the `target`
Copies instance variables from the ` dsl ` to the ` target `
def convert(dsl, target)
                dsl.instance_variables.each do |var|
                    val = dsl.instance_variable_get var
                    target.instance_variable_set var, val
                end
            end
def convert ( dsl , target ) dsl . instance_variables . each do | var | val = dsl . instance_variable_get var target . instance_variable_set var , val end end
Copies instance variables from the `dsl` to the `target`
Copies instance variables from the ` dsl ` to the ` target `
None
void
dsl
the DSL to convert
the DSL to convert
target
the target of the conversion
the target of the conversion