diff --git a/motion/core/string.rb b/motion/core/string.rb index 6e25bc9e..32906a14 100644 --- a/motion/core/string.rb +++ b/motion/core/string.rb @@ -90,4 +90,12 @@ def to_color end end -NSString.send(:include, BubbleWrap::String) +# Strange fix for https://github.com/rubymotion/BubbleWrap/issues/456 +# +# Originally: +# NSString.send("include", BubbleWrap::String) + +class NSString + include BubbleWrap::String +end +