lib/nydp/symbol_lookup.rb in nydp-0.5.1 vs lib/nydp/symbol_lookup.rb in nydp-0.6.0
- old
+ new
@@ -9,11 +9,11 @@
bindings = bindings.cdr
end
bindings
end
- def self.build name, original_bindings
+ def self.build name, original_bindings, ns
effective_bindings = skip_empty original_bindings
depth = 0
while NIL != effective_bindings
here = effective_bindings.car
if here.key? name
@@ -22,9 +22,10 @@
else
depth += 1
effective_bindings = skip_empty effective_bindings.cdr
end
end
- name
+
+ Nydp::Symbol.new name.to_s.to_sym
end
end
end