Skip to content

Instantly share code, notes, and snippets.

@banister
Created January 9, 2009 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banister/45049 to your computer and use it in GitHub Desktop.
Save banister/45049 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'inline'
class Fren
inline do |builder|
builder.c %{
VALUE bink() {
return Qtrue;
}
}, :method_name => "fren?"
end
end
puts Fren.new.fren?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment