rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Possible to only require JSON helpers? #462

Closed andrewhavens closed 9 years ago

andrewhavens commented 9 years ago

I don't see this mentioned in the documentation. I see that you can require bubble-wrap/whatever but I don't see anything about JSON. I tried require bubble-wrap/json and bubble-wrap/core/json but neither of those worked. Is there an undocumented way of doing this?

markrickert commented 9 years ago

Not that I know of. If you're JUST looking for the JSON stuff from BubbleWrap, i'd suggest just pulling the one file out and including it in your application: https://github.com/rubymotion/BubbleWrap/blob/master/motion/core/json.rb

Hopefully that will work for you if you don't need the entire power of BubbleWrap.