diff options
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/bindings/qmf2/ruby/Makefile.am | 1 | ||||
| -rw-r--r-- | cpp/bindings/qmf2/ruby/qmf2.rb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cpp/bindings/qmf2/ruby/Makefile.am b/cpp/bindings/qmf2/ruby/Makefile.am index 4a8b8e269e..f3695e0fbb 100644 --- a/cpp/bindings/qmf2/ruby/Makefile.am +++ b/cpp/bindings/qmf2/ruby/Makefile.am @@ -31,6 +31,7 @@ cqmf2.cpp: $(srcdir)/ruby.i $(srcdir)/../qmf2.i $(srcdir)/../../swig_ruby_typema rubylibarchdir = $(RUBY_LIB_ARCH) rubylibarch_LTLIBRARIES = cqmf2.la +dist_rubylib_DATA = qmf2.rb cqmf2_la_LDFLAGS = -avoid-version -module -shrext ".$(RUBY_DLEXT)" cqmf2_la_LIBADD = $(RUBY_LIBS) -L$(top_builddir)/src/.libs -lqmf2 $(top_builddir)/src/libqmf2.la diff --git a/cpp/bindings/qmf2/ruby/qmf2.rb b/cpp/bindings/qmf2/ruby/qmf2.rb index 5175fdc2b1..97e71c642b 100644 --- a/cpp/bindings/qmf2/ruby/qmf2.rb +++ b/cpp/bindings/qmf2/ruby/qmf2.rb @@ -101,7 +101,7 @@ module Qmf2 def set_agent_filter(filter) @impl.setAgentFilter(filter) end def open() @impl.open end - def close() @imp.close end + def close() @impl.close end def agents result = [] @@ -134,7 +134,7 @@ module Qmf2 def set_instance(val) @impl.setInstance(val) end def set_attribute(key, val) @impl.setAttribute(key, val) end def open() @impl.open end - def close() @imp.close end + def close() @impl.close end def register_schema(cls) @impl.registerSchema(cls.impl) end def add_data(data, name="", persistent=:false) |
