lib/moleculer/configuration.rb in moleculer-0.1.0 vs lib/moleculer/configuration.rb in moleculer-0.1.1
- old
+ new
@@ -26,9 +26,13 @@
def map(&block)
@services.map(&block)
end
+ def each(&block)
+ @services.each(&block)
+ end
+
def include?(service)
@services.include?(service)
end
end