summaryrefslogtreecommitdiff
path: root/spec/ruby/core/struct/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/struct/fixtures')
-rw-r--r--spec/ruby/core/struct/fixtures/classes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ruby/core/struct/fixtures/classes.rb b/spec/ruby/core/struct/fixtures/classes.rb
index bf838d05df..675d403abd 100644
--- a/spec/ruby/core/struct/fixtures/classes.rb
+++ b/spec/ruby/core/struct/fixtures/classes.rb
@@ -3,6 +3,7 @@ module StructClasses
class Apple < Struct; end
Ruby = Struct.new(:version, :platform)
+ Single = Struct.new(:value)
Car = Struct.new(:make, :model, :year)
@@ -29,4 +30,6 @@ module StructClasses
super
end
end
+
+ class StructSubclass < Struct; end
end