lib/dry/logic/operations/set.rb in dry-logic-1.0.6 vs lib/dry/logic/operations/set.rb in dry-logic-1.0.7
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
-require 'dry/logic/operations/abstract'
-require 'dry/logic/result'
+require "dry/logic/operations/abstract"
+require "dry/logic/result"
module Dry
module Logic
module Operations
class Set < Abstract
@@ -27,10 +27,10 @@
def ast(input = Undefined)
[type, rules.map { |rule| rule.ast(input) }]
end
def to_s
- "#{type}(#{rules.map(&:to_s).join(', ')})"
+ "#{type}(#{rules.map(&:to_s).join(", ")})"
end
end
end
end
end