[#63592] [ruby-trunk - Bug #10009] IO operation is 10x slower in multi-thread environment — normalperson@...
Issue #10009 has been updated by Eric Wong.
3 messages
2014/07/08
[#63682] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/13
[#63703] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/14
[#63743] [ruby-trunk - Bug #10037] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make — ngotogenome@...
Issue #10037 has been updated by Naohisa Goto.
3 messages
2014/07/15
[#64136] Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb — "Jeffrey 'jf' Lim" <jfs.world@...>
As per subject.
4 messages
2014/07/31
[#64138] Re: Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb
— "Jeffrey 'jf' Lim" <jfs.world@...>
2014/07/31
On Thu, Jul 31, 2014 at 6:03 PM, Jeffrey 'jf' Lim <[email protected]>
[ruby-core:63463] Re: Access Modifiers (Internal Interfaces)
From:
Zachary Scott <e@...>
Date:
2014-07-01 06:03:32 UTC
List:
ruby-core #63463
I would suggest opening a feature request if you feel strongly about adding= `internal` to Ruby. See also: https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeature= s On Jun 28, 2014, at 11:17 AM, Daniel da Silva Ferreira <danieldasilvaferrei= [email protected]> wrote: > Hi, > > I=E2=80=99m would like to discuss with you the concept of Internal Interf= aces. > > Currently ruby offers three access modifiers choices to set methods visib= ility: > - public > - protected > - private > > Public methods define what we may call the Public Interface. > Private methods are private to the class and its subclasses. > Protected methods are public for the subclasses. > > I would like to work with a new access modifier that would allow the crea= tion of Internal methods. > > Internal methods would be object methods that could only be called within= the namespace. > > Ex: module Foo; end > > class Foo::Bar > def baz > puts =E2=80=98baz=E2=80=99 > end > internal :baz > end > > class Foo::Qux > def baz > ::Foo::Bar.new.baz > end > end > > Is this something that we can think about in a future implementation of r= uby? > An extra feature that would not break backward compatibility. > > Cheers, > Daniel