lib/tap/task.rb in bahuvrihi-tap-0.10.5 vs lib/tap/task.rb in bahuvrihi-tap-0.10.6

- old
+ new

@@ -178,9 +178,13 @@ child.instance_variable_set(:@default_name, child.to_s.underscore) child.instance_variable_set(:@dependencies, dependencies.dup) super end + #-- + # use with caution... should reset dependencies? + attr_writer :instance + # Returns an instance of self; the instance is a kind of 'global' # instance used in class-level dependencies. See depends_on. def instance @instance ||= new end \ No newline at end of file