lib/eco/api/common/loaders/parser.rb in eco-helpers-2.0.19 vs lib/eco/api/common/loaders/parser.rb in eco-helpers-2.0.21
- old
+ new
@@ -17,9 +17,10 @@
end
name value
@attribute = value
end
+ # TODO: it migh rather merge?
# Some parsers require dependencies to do their job.
def dependencies(value = nil)
@dependencies ||= {}
return @dependencies unless value
@dependencies = value