aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/basicobject/fixtures/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/basicobject/fixtures/common.rb')
-rw-r--r--spec/rubyspec/core/basicobject/fixtures/common.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/rubyspec/core/basicobject/fixtures/common.rb b/spec/rubyspec/core/basicobject/fixtures/common.rb
new file mode 100644
index 0000000000..3447a3a5e7
--- /dev/null
+++ b/spec/rubyspec/core/basicobject/fixtures/common.rb
@@ -0,0 +1,9 @@
+module BasicObjectSpecs
+ class BOSubclass < BasicObject
+ def self.kernel_defined?
+ defined?(Kernel)
+ end
+
+ include ::Kernel
+ end
+end