We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73be5d1 commit 24feeeaCopy full SHA for 24feeea
lib/appraisal/conditional.rb
@@ -16,6 +16,8 @@ def to_s
16
17
# :nodoc:
18
def for_dup
19
+ return unless @condition.is_a?(String)
20
+
21
"install_if #{@condition} do\n#{indent(super)}\nend"
22
end
23
0 commit comments