lib/volt/reactive/reactive_array.rb
def split_scope(scope)
    if scope
      scope = scope.dup
      method_name = scope.shift
      block = scope.pop

      return method_name, scope, block
    else
      return nil,[],nil
    end
  end
# TODO: This is an opal work around.  Currently there is a bug with destructuring
# method_name, *args, block = scope
This is an opal work around.  Currently there is a bug with destructuring
method_name, *args, block = scope
This is an opal work around . Currently there is a bug with destructuring method_name * args block = scope
def split_scope(scope)
    if scope
      scope = scope.dup
      method_name = scope.shift
      block = scope.pop
      return method_name, scope, block
    else
      return nil,[],nil
    end
  end
def split_scope ( scope ) if scope scope = scope . dup method_name = scope . shift block = scope . pop return method_name , scope , block else return nil , [ ] , nil end end
TODO: This is an opal work around.
TODO : This is an opal work around .
scope