[macruby-changes] [3426] MacRuby/trunk/encoding.c
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 3 17:24:45 PST 2010
Revision: 3426
http://trac.macosforge.org/projects/ruby/changeset/3426
Author: lsansonetti at apple.com
Date: 2010-02-03 17:24:42 -0800 (Wed, 03 Feb 2010)
Log Message:
-----------
define Encoding::BINARY as a shortcut to US_ASCII (temporary)
Modified Paths:
--------------
MacRuby/trunk/encoding.c
Modified: MacRuby/trunk/encoding.c
===================================================================
--- MacRuby/trunk/encoding.c 2010-02-04 01:16:18 UTC (rev 3425)
+++ MacRuby/trunk/encoding.c 2010-02-04 01:24:42 UTC (rev 3426)
@@ -87,6 +87,8 @@
// Define shortcuts.
rb_define_const(rb_cEncoding, "ASCII_8BIT",
rb_const_get(rb_cEncoding, rb_intern("US_ASCII")));
+ rb_define_const(rb_cEncoding, "BINARY",
+ rb_const_get(rb_cEncoding, rb_intern("US_ASCII")));
}
static VALUE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100203/8e87a0d2/attachment.html>
More information about the macruby-changes
mailing list