lib/grumlin/step.rb in grumlin-0.4.0 vs lib/grumlin/step.rb in grumlin-0.5.0
- old
+ new
@@ -12,10 +12,10 @@
def next
@enum ||= toList.to_enum
@enum.next
end
- def toList # rubocop:disable Naming/MethodName
+ def toList
@pool.acquire do |client|
client.write(*steps)
end
end