Class: Win32::CaptureIE::FFI::CStruct::DSL
- Inherits:
-
Object
- Object
- Win32::CaptureIE::FFI::CStruct::DSL
- Defined in:
- lib/win32/capture_ie/ffi/struct.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#struct ⇒ Object
readonly
Returns the value of attribute struct.
Instance Method Summary collapse
-
#initialize(name, size) ⇒ DSL
constructor
A new instance of DSL.
- #method_missing(name, *args) ⇒ Object
Constructor Details
#initialize(name, size) ⇒ DSL
Returns a new instance of DSL.
233 234 235 |
# File 'lib/win32/capture_ie/ffi/struct.rb', line 233 def initialize(name, size) @struct = StructureType.new(name, size) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Attribute Details
#struct ⇒ Object (readonly)
Returns the value of attribute struct.
231 232 233 |
# File 'lib/win32/capture_ie/ffi/struct.rb', line 231 def struct @struct end |