Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

appsignal/c_from_ruby_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFromRubyExample

Example to go with the Ruby Magic blog post.

To hack on this run:

$ bin/setup
$ bin/rake compile

And then run this play around:

`$ bin/console
irb(main):001:0> CFromRubyExample::Helpers.string("a string")
=> "String from Ruby: 'a string'"
irb(main):002:0> CFromRubyExample::NativeHelpers.string("a string")
=> "String from C: 'a string'"
irb(main):003:0>

Or run the tests:

bin/rake test

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •