spec/handlers/examples/class_handler_001.rb.txt in yard-0.5.8 vs spec/handlers/examples/class_handler_001.rb.txt in yard-0.6.0
- old
+ new
@@ -81,9 +81,13 @@
end
class Zebra
end
+# A simple struct
+class RegularStruct < Struct; end
+class RegularStruct2 < ::Struct; end
+
class Point < Struct.new(:x, :y, :z)
end
class AnotherPoint < Struct.new('XPoint', :a, :b, :c, :description)
end
\ No newline at end of file