Class: Confium::CFM
- Inherits:
-
Object
- Object
- Confium::CFM
- Defined in:
- lib/confium/cfm.rb
Instance Attribute Summary collapse
-
#ptr ⇒ Object
readonly
Returns the value of attribute ptr.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ CFM
constructor
A new instance of CFM.
- #load_plugin(name, path) ⇒ Object
Constructor Details
Instance Attribute Details
#ptr ⇒ Object (readonly)
Returns the value of attribute ptr.
5 6 7 |
# File 'lib/confium/cfm.rb', line 5 def ptr @ptr end |
Class Method Details
Instance Method Details
#load_plugin(name, path) ⇒ Object
17 18 19 |
# File 'lib/confium/cfm.rb', line 17 def load_plugin(name, path) Confium.call_ffi(:cfm_plugin_load, @ptr, name, path, nil, nil) end |