lib/csl/node.rb in csl-1.4.3 vs lib/csl/node.rb in csl-1.4.4
- old
+ new
@@ -536,10 +536,10 @@
end
def match_conditions_for(name, conditions)
case name
when Node
- [name.nodename, name.attributes.to_hash]
+ conditions, name = name.attributes.to_hash, name.nodename
when Hash
conditions, name = name, nodename
when Symbol
name = name.to_s
end