@private
Instance methods to include in classes that wrap pn_object types that support pn_inspect etc. Automatically extends SWIGClassHelper
# File lib/util/wrapper.rb, line 124 def self.included(base) base.extend(SWIGClassHelper) end
# File lib/util/wrapper.rb, line 143 def self.registry @registry ||= {} end
# File lib/util/wrapper.rb, line 130 def inspect return "#{self.class}<nil>" unless @impl pstr = Cproton.pn_string("") begin Cproton.pn_inspect(@impl, pstr) return Cproton.pn_string_get(pstr) ensure Cproton.pn_free(pstr) end end
# File lib/util/wrapper.rb, line 141 def to_s() inspect; end