I'm not sure if this is the appropriate forum to post this, so please
accept my apologies if so.
I have a slight suspicion that MacRuby is not working/not installed
properly in my machine.
In macirb, the class of an object is always reported as the Ruby
class, not the NS class - e.g., string is a
The Ruby String class is a subclass of NSString:
MacRuby-0.12 irb(main):001:0> "foo".class.ancestors
=> [String,
NSMutableString,
NSString,
Comparable,
NSObject,
PP::ObjectMixin,
Kernel,
RbConfig]
In order to get the list of all methods that an object responds to, including
those defined
Hi Mark,
Yes, it was, thanks for the right pointer.
Can I also produce the same output locally for comparison? It would be ideal to
be able to produce the same output for the installed version of MacRuby (cf.
built source before installation, as described in README.rdoc) so I can compare
with
Hi,
I installed Nightly Build (macruby_nightly-2012-02-21.pkg) from
http://www.macruby.org/files/nightlies/
However, It looks like recently commits (since 2012/02/10) is not applied.
$ wget http://www.macruby.org/files/nightlies/macruby_nightly-2012-02-21.pkg
$ sudo installer -pkg macruby_nightly
The nightly builder uses a modified rake task which conflicted with recent
changes so it stopped updating automatically. I have fixed the conflict and the
nightly for the 21st should be up to date.
-Bill
On Feb 21, 2012, at 6:22 AM, Watson wrote:
> Hi,
>
> I installed Nightly Build (macruby
Thanks Bill!
- Matt
On Tue, Feb 21, 2012 at 10:21 AM, William Siegrist wrote:
> The nightly builder uses a modified rake task which conflicted with recent
> changes so it stopped updating automatically. I have fixed the conflict and
> the nightly for the 21st should be up to date.
>
> -Bill
>
>
On Mon, Feb 20, 2012 at 8:26 AM, Joshua Ballanco wrote:
> Sadly, I think the missing #ifndef is merely a symptom of laziness. If you
> wanted to send a pull request, I don't think anyone would object to merging
> it in :)
>
Here ya go: https://github.com/MacRuby/MacRuby/pull/61
Cheers,
Marc
___
Thanks very much for this, Andy.
On Feb 21, 6:20 pm, Andy Park wrote:
> The Ruby String class is a subclass of NSString:
>
> MacRuby-0.12 irb(main):001:0> "foo".class.ancestors
> => [String,
> NSMutableString,
> NSString,
> Comparable,
> NSObject,
> PP::ObjectMixin,
> Kernel,
> RbConfig]
>