Class: WinFFI::POINT
- Inherits:
-
FFIAdditions::Struct
- Object
- FFIAdditions::Struct
- WinFFI::POINT
- Defined in:
- lib/win-ffi/core/struct/point.rb
Instance Method Summary collapse
Methods inherited from FFIAdditions::Struct
Instance Method Details
#to_a ⇒ Object
10 11 12 |
# File 'lib/win-ffi/core/struct/point.rb', line 10 def to_a [x, y] end |
#to_s ⇒ Object
6 7 8 |
# File 'lib/win-ffi/core/struct/point.rb', line 6 def to_s "POINT x = #{x}, y = #{y}" end |