lib/ios/sugarcube-factories/nserror.rb in sugarcube-2.4.2 vs lib/ios/sugarcube-factories/nserror.rb in sugarcube-2.5.0
- old
+ new
@@ -5,12 +5,9 @@
code = options[:code] || 0
info = { NSLocalizedDescriptionKey => message }
if options[:userInfo]
info.merge! options[:userInfo]
end
- NSError.alloc.initWithDomain( domain,
- code: code,
- userInfo: info
- )
+ NSError.alloc.initWithDomain(domain, code: code, userInfo: info)
end
end