Module: GRCommons::AttachFunction
Instance Attribute Summary collapse
-
#ffi_methods ⇒ Object
readonly
Returns the value of attribute ffi_methods.
Instance Method Summary collapse
Instance Attribute Details
#ffi_methods ⇒ Object (readonly)
Returns the value of attribute ffi_methods.
11 12 13 |
# File 'lib/gr_commons/attach_function.rb', line 11 def ffi_methods @ffi_methods end |
Instance Method Details
#attach_function(name, *args) ⇒ Object
5 6 7 8 9 |
# File 'lib/gr_commons/attach_function.rb', line 5 def attach_function(name, *args) @ffi_methods ||= [] @ffi_methods << name super(name, *args) end |