- Install RVM
- Install Ruby 1.9.2
$ rvm install 1.9.2
- I had to do this business per the instructions I saw when I ran that command:
$ rvm install 1.9.2
#define CT_SHARED_INSTANCE_USING_BLOCK(block) \ | |
static dispatch_once_t pred = 0; \ | |
__strong static id _sharedObject = nil; \ | |
dispatch_once(&pred, ^{ \ | |
_sharedObject = block(); \ | |
}); \ | |
return _sharedObject; | |
+ (SharedThing *)sharedInstance { |