> Date: Wed, 19 Jan 2011 17:55:05 -0500
> From: Robert Rice
> Subject: [MacRuby-devel] macruby command in console
>
> Entering macruby by mistake on the console command line instead of macirb
> gets no reply. The user must type ctrl-C to abort it.
>
> Probably macruby should reply with usage in
> Date: Fri, 17 Dec 2010 11:13:35 -0800
> From: Gabriel Gilder
>
> I ended up solving this problem in my MacRuby app by writing a little class
> to load dependencies - it keeps track of the full file paths of every
> dependency in a class variable and makes sure to only load a file once even
> if
> From: denny trebbin
>
> Can you download XC4 without paying 99$ ?My none paid account allows me only
> to download XC3 :-)
not yet - Xcode 4 is still in "developer preview" releases, and only available
to paying dev. program members. once it's finalised it'll (I assume) be free
for download
> How much can we talk about Xcode 4 wrt SCM integration?
mention of the git support in Xcode 4 is on a no login required page at apple,
so I guess that feature is considered "public" now...
http://developer.apple.com/technologies/tools/whats-new.html#version-editor
cheers
Rus
On 06/10/2010, at 1:00 AM, macruby-devel-requ...@lists.macosforge.org wrote:
> After 5 months of development since the last release, MacRuby 0.7 is
> now available. Get it here while it's still hot!
cool!
Now that 0.7 is out I've just tried to "macgem install control_tower", but it's
warning m
given this a try yet), does
ControlTower receive the entire request body before calling the request
handler, or does it provide a streaming env["rack.input"] like Rainbows! or
zbatery that can be used with UPR (http://upr.bogomips.org/) for upload
progress reporting?
cheers
Russel
On 09/09/2010, at 4:22 AM, macruby-devel-requ...@lists.macosforge.org wrote:
> Date: Wed, 8 Sep 2010 11:22:37 -0700
> From: Thibault Martin-Lagardette
>
>> I don't think I've seen any examples using the initWith method. Is that
>> method called after init?
>
> Simply something of the like:
>
On 07/05/2010, at 4:01 PM, Thibault Martin-Lagardette wrote:
> The reason #new currently behaves this way is to work for every object,
> wether it's Ruby or Cocoa.
> For #new to work like you expect (which I agree totally makes sense), instead
> of having #new aliasing [[obj alloc] init], we cou
On 07/05/2010, at 2:17 PM, Thibault Martin-Lagardette wrote:
> Glad it works :-)
>
> The reason why your example doesn't work is because in MacRuby, String
> descends from NSString, which is a Foundation object. Foundation objects use
> "init" and not "initalize", and for syntaxic sugar reasons
> From: Thibault Martin-Lagardette
>
> What you can do is a "factory" just like this:
>
...
> You can also do a more Cocoa-ish way:
>
...
> Hope that helps!
yep, that all works... I'd rather be doing it in a more Ruby-ish way though...
:)
Is the fact that the Ruby-standard initialize meth
> From: Thibault Martin-Lagardette
>
> Hi!
>
> I believe the problem is that you were overriding the wrong init method. Here
> is what I changed to your code to make it work:
>
> class MyNode < ODNode
>def initWithSession(session, name:name, error:err)
>if super
>@sessi
Hi All,
I've produced an ugly bunch of ruby that talks to OpenDirectory and am trying
to clean it up a bit. Currently I'm using pure ruby classes that proxy Obj-C
objects held in instance variables, but my goal is to have something structured
like this -
module OpenDirectory
class Node < ODN
> Hi Russell,
>
> Sorry for the late response.
no worries... :)
> OpenDirectory.framework ships with BridgeSupport annotations, so doing
> "framework 'OpenDirectory'" should merge all symbols into MacRuby. If some
> are missing, it's likely a bug in the BridgeSupport generator, that should be
On 07/04/2010, at 5:56 PM, russell muetzelfeldt wrote:
> /*!
>@const kODRecordTypeUsers
>@abstract Identifies user records.
>@discussion Identifies user records.
> */
> CF_EXPORT
> const ODRecordType kODRecordTypeUsers;
>
>
> which I ass
On 07/04/2010, at 4:48 PM, russell muetzelfeldt wrote:
> Is there some way of getting access to these constants, or do I need to find
> and use their literal values instead?
On further investigation it looks like just defining the constants in ruby
myself will do. Some of them ex
Hi All,
I'm trying to use MacRuby (0.5) to poke at OpenDirectory, but can't figure out
how to get the ruby environment to see constants defined in the CFOpenDirectory
subframework of the OpenDirectory framework.
http://gist.github.com/358599 is a simple case of what I can't work out.
Constants
16 matches
Mail list logo