Author: logie
Date: Thu Oct 11 05:17:32 2012
New Revision: 1396906

URL: http://svn.apache.org/viewvc?rev=1396906&view=rev
Log:
Checking in a simple example on how the CFC compiler can be called in ruby

Added:
    lucy/trunk/clownfish/compiler/ruby/ext/example.rb

Added: lucy/trunk/clownfish/compiler/ruby/ext/example.rb
URL: 
http://svn.apache.org/viewvc/lucy/trunk/clownfish/compiler/ruby/ext/example.rb?rev=1396906&view=auto
==============================================================================
--- lucy/trunk/clownfish/compiler/ruby/ext/example.rb (added)
+++ lucy/trunk/clownfish/compiler/ruby/ext/example.rb Thu Oct 11 05:17:32 2012
@@ -0,0 +1,7 @@
+#! /usr/bin/env ruby
+
+# Simple example on how to call CFC in ruby
+require_relative 'Clownfish/CFC'
+
+hierarchy = Clownfish::CFC::Model::Hierarchy.new("autogen")
+hierarchy.build


Reply via email to