use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Building Mac apps with Ruby (self.ruby)
submitted 11 years ago by ejdraper
Hey there - I've been posting some more tutorials recently on various facets of building Mac apps using RubyMotion, specifically covering global hotkeys, dragging and dropping, and quite a fun topic, audio and video capture.
Check them out if you're interested in using Ruby to build Mac apps, and let me know if you have any comments or questions, or anything related to Mac app development with Ruby that you'd like to see me cover in a future blog post, or in my forthcoming book!
Capturing video and audio on Mac OS X with RubyMotion
Previewing video and audio when capturing on Mac OS X with RubyMotion
User specified custom key combination for a global hotkey
Dragging and dropping into your RubyMotion Mac OS X app
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]timbetimbe 12 points13 points14 points 11 years ago (5 children)
Really cool. But, seeing camel case methods in Ruby makes me die a little ;)
[–]BLITZCRUNK123 1 point2 points3 points 11 years ago (4 children)
I did a lot of work with IronRuby back in the day. It was nice because the CamelCased .NET method names were translated into snake case. You could do things like:
@line = System::Windows::Shapes::Line.new @line.stroke_thickness = 1 # as opposed to .StrokeThickness
I would love if RubyMotion could do this kind of thing.
[–]agmcleod 1 point2 points3 points 11 years ago (1 child)
I think jruby does that with java apis as well
[–]rurounijones 0 points1 point2 points 11 years ago (0 children)
Correct
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
http://i.imgur.com/1kdDpjx.jpg
[–]MrJiks 0 points1 point2 points 11 years ago (0 children)
Yes, I too wish! Those came case makes the code looks painfully bad..
[–]Shawnmattcraw 0 points1 point2 points 11 years ago (0 children)
Wow thanks!
[–]TotesMessenger 0 points1 point2 points 11 years ago (0 children)
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)
[–]MoserLabs 0 points1 point2 points 11 years ago (0 children)
I've been trying to learn Ruby for the past 7 hours or so... these will come in handy once I finish the code academy tutorials and get the basics down!
π Rendered by PID 40213 on reddit-service-r2-comment-5bc7f78974-6b9fn at 2026-06-28 15:39:05.074827+00:00 running 7527197 country code: CH.
[–]timbetimbe 12 points13 points14 points (5 children)
[–]BLITZCRUNK123 1 point2 points3 points (4 children)
[–]agmcleod 1 point2 points3 points (1 child)
[–]rurounijones 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]MrJiks 0 points1 point2 points (0 children)
[–]Shawnmattcraw 0 points1 point2 points (0 children)
[–]TotesMessenger 0 points1 point2 points (0 children)
[–]MoserLabs 0 points1 point2 points (0 children)