lib/forward_referencing.rb in eymiha_util-0.1.1 vs lib/forward_referencing.rb in eymiha_util-0.1.2

- old
+ new

@@ -69,10 +69,10 @@ # Returns a hash of dependencies to arrays of the ForwardReferences that # have them as dependencies. def forward_reference_dependencies dependencies = {} @forward_references.each { |forward_reference| - dependency = forward_reference.dependency + dependency = forward_reference.dependency || "nil" forward_references = dependencies[dependency] dependencies[dependency] = [] if forward_references == nil dependencies[dependency] << forward_reference } dependencies