Method: RbSDL2::Palette#==

Defined in:
lib/rb_sdl2/palette.rb

#==(other) ⇒ Object



39
40
41
# File 'lib/rb_sdl2/palette.rb', line 39

def ==(other)
  other.respond_to?(:to_ptr) && other.to_ptr == to_ptr
end