lib/libvirt_async/util.rb in libvirt_async-0.3.2 vs lib/libvirt_async/util.rb in libvirt_async-0.4.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module LibvirtAsync
module Util
def create_task(parent = nil, &block)
parent = Async::Task.current? if parent == :current