Removed left-over assignment
This commit is contained in:
parent
f41f6ff0c8
commit
d72f5eb07f
|
@ -736,8 +736,7 @@ module Oga
|
||||||
# @param [AST::Node] arg
|
# @param [AST::Node] arg
|
||||||
# @return [Oga::Ruby::Node]
|
# @return [Oga::Ruby::Node]
|
||||||
def on_call_count(input, arg)
|
def on_call_count(input, arg)
|
||||||
count = unique_literal(:count)
|
count = unique_literal(:count)
|
||||||
assign =
|
|
||||||
|
|
||||||
unless return_nodeset?(arg)
|
unless return_nodeset?(arg)
|
||||||
raise TypeError, 'count() can only operate on NodeSet instances'
|
raise TypeError, 'count() can only operate on NodeSet instances'
|
||||||
|
|
Loading…
Reference in New Issue