summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/basicobject/fixtures/singleton_method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/basicobject/fixtures/singleton_method.rb')
-rw-r--r--spec/rubyspec/core/basicobject/fixtures/singleton_method.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/rubyspec/core/basicobject/fixtures/singleton_method.rb b/spec/rubyspec/core/basicobject/fixtures/singleton_method.rb
new file mode 100644
index 0000000000..0e00e035fa
--- /dev/null
+++ b/spec/rubyspec/core/basicobject/fixtures/singleton_method.rb
@@ -0,0 +1,10 @@
+module BasicObjectSpecs
+ class SingletonMethod
+ def self.singleton_method_added name
+ ScratchPad.record [:singleton_method_added, name]
+ end
+
+ def self.singleton_method_to_alias
+ end
+ end
+end