summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/fixtures/to_c.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/fixtures/to_c.rb')
-rw-r--r--spec/ruby/core/string/fixtures/to_c.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ruby/core/string/fixtures/to_c.rb b/spec/ruby/core/string/fixtures/to_c.rb
new file mode 100644
index 0000000000..7776933263
--- /dev/null
+++ b/spec/ruby/core/string/fixtures/to_c.rb
@@ -0,0 +1,5 @@
+module StringSpecs
+ def self.to_c_method(string)
+ string.to_c
+ end
+end