Class: VirtualBox::COM::XPCOMC::Spec::Function
- Inherits:
-
VirtualBox::COM::XPCOMC::Spec
- Object
- VirtualBox::COM::XPCOMC::Spec
- VirtualBox::COM::XPCOMC::Spec::Function
- Defined in:
- lib/virtualbox/com/xpcomc-ffi/spec.rb
Instance Attribute Summary
Attributes inherited from VirtualBox::COM::XPCOMC::Spec
Instance Method Summary collapse
-
#initialize(name, type, args, opts) ⇒ Function
constructor
A new instance of Function.
- #signatures ⇒ Object
- #to_call ⇒ Object
Methods inherited from VirtualBox::COM::XPCOMC::Spec
Constructor Details
#initialize(name, type, args, opts) ⇒ Function
Returns a new instance of Function.
15 16 17 |
# File 'lib/virtualbox/com/xpcomc-ffi/spec.rb', line 15 def initialize(name, type, args, opts) @name, @type, @args, @opts = name, type, args, opts end |
Instance Method Details
#signatures ⇒ Object
19 20 21 |
# File 'lib/virtualbox/com/xpcomc-ffi/spec.rb', line 19 def signatures { name => to_call } end |