diff options
Diffstat (limited to 'spec/ruby/core/kernel/fixtures/singleton_methods.rb')
-rw-r--r-- | spec/ruby/core/kernel/fixtures/singleton_methods.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/ruby/core/kernel/fixtures/singleton_methods.rb b/spec/ruby/core/kernel/fixtures/singleton_methods.rb new file mode 100644 index 0000000000..32ea0adf89 --- /dev/null +++ b/spec/ruby/core/kernel/fixtures/singleton_methods.rb @@ -0,0 +1,13 @@ +module SingletonMethodsSpecs + module Prepended + def mspec_test_kernel_singleton_methods + end + public :mspec_test_kernel_singleton_methods + end + + ::Module.prepend Prepended + + module SelfExtending + extend self + end +end |