lib/appraisal/platform.rb in appraisal-1.0.2 vs lib/appraisal/platform.rb in appraisal-1.0.3
- old
+ new
@@ -19,7 +19,10 @@
def to_s
"platforms #{Utils.format_arguments(@platform_names)} do\n" +
@dependencies.to_s.strip.gsub(/^/, ' ') +
"\nend"
end
+
+ # :nodoc:
+ alias_method :for_dup, :to_s
end
end