Class: SDL::Mac::ObjC::NSClass
- Defined in:
- lib/ruby-sdl-ffi/sdl/mac.rb
Instance Method Summary collapse
-
#initialize(str_or_ptr) ⇒ NSClass
constructor
A new instance of NSClass.
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 |