summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2012-12-29 05:37:55 +0900
committerYuichiro MASUI <[email protected]>2013-01-03 02:24:15 +0900
commit7c469c0b9dadd1de09fed18c3e5cc551012c38c1 (patch)
treeb79aa703ef7c528896c4f1be8280d0691314008b /doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb
parenta48fc0d7952ad1f10ae777637269fe6a3f9ad0a2 (diff)
downloadmruby-7c469c0b9dadd1de09fed18c3e5cc551012c38c1.tar.gz
mruby-7c469c0b9dadd1de09fed18c3e5cc551012c38c1.zip
Rebuild CRuby based building script without Makefile
Tested CRuby 1.8.6 and 1.9.3 You can see building configuration in build_config.rb
Diffstat (limited to 'doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb')
-rw-r--r--doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb b/doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb
index 0c2d3c7d1..d3899c301 100644
--- a/doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb
+++ b/doc/mrbgems/c_and_ruby_extension_example/mrblib/example.rb
@@ -1,4 +1,4 @@
-class RubyExtension
+module CRubyExtension
def CRubyExtension.ruby_method
puts "A Ruby Extension"
end