Class: SDL::Mac::ObjC::NSClass

Inherits:
NSObject
  • Object
show all
Defined in:
lib/ruby-sdl-ffi/sdl/mac.rb

Instance Method Summary collapse

Methods inherited from NSObject

#inspect, nsclassname, #nsclassname, #release

Constructor Details

#initialize(str_or_ptr) ⇒ NSClass

Returns a new instance of NSClass.



191
192
193
194
195
196
197
# File 'lib/ruby-sdl-ffi/sdl/mac.rb', line 191

def initialize( str_or_ptr )
  if str_or_ptr.is_a? String
    super( ObjC.getClass(str_or_ptr) )
  else
    super
  end
end