diff options
Diffstat (limited to 'spec/ruby/core/main/fixtures/string_refinement_user.rb')
-rw-r--r-- | spec/ruby/core/main/fixtures/string_refinement_user.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/ruby/core/main/fixtures/string_refinement_user.rb b/spec/ruby/core/main/fixtures/string_refinement_user.rb new file mode 100644 index 0000000000..48620c325f --- /dev/null +++ b/spec/ruby/core/main/fixtures/string_refinement_user.rb @@ -0,0 +1,11 @@ +using StringRefinement + +module MainSpecs + DATA[:in_module] = 'hello'.foo + + def self.call_foo(x) + x.foo + end +end + +MainSpecs::DATA[:toplevel] = 'hello'.foo |