Class: FFI::Struct::InlineArray

Inherits:
Object
  • Object
show all
Defined in:
lib/sdl2.rb

Overview

Augmented for compares with anything that can be an array

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



46
47
48
# File 'lib/sdl2.rb', line 46

def ==(other)
  self.to_a == other.to_a
end