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

Mail documentation fixes and code tweaks #378

Closed markrickert closed 10 years ago

markrickert commented 10 years ago

The documentation has BW::Mail.compose{...} do |result, error| end instead of BW::Mail.compose(...) do |result, error| end. This should be fixed on the bubblewrap.io site as well.

I also reformatted how the mail class handles default values for the options that it is passed. Cleaner and more readable/understandable code is the result!

clayallsopp commented 10 years ago

:+1: good catches, will rebuild bubblewrap.io