General

Profile

najamelan (Naja Melan)

  • Login: najamelan
  • Registered on: 07/18/2016
  • Last sign in: 02/23/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/12/2017

04:22 PM Ruby master Feature #2740: Extend const_missing to pass in the nesting
This would still be very useful for people implementing auto loading systems, not just Rails najamelan (Naja Melan)

07/19/2016

07:25 PM Ruby master Feature #7361: Adding Pathname#touch
I prefer something like (warning, untested code):
~~~ ruby
def touch( subPath = '', **options )
path = @path
...
najamelan (Naja Melan)
09:05 AM Ruby master Feature #12593: Allow compound assignements to work when destructuring arrays
What I propose is to translate the construct:
~~~ ruby
a = 3
b = [ 2 ]
a, b = 2, 3, 4
a == 2
b == 3
# ...
najamelan (Naja Melan)

07/18/2016

05:58 PM Ruby master Bug #10837: spatting a single element array produces an array instead of a single value for return and next
@bug hit
My apologies, it seems I'm mistaken. The splat operator does not just seem to coerce into array for all t...
najamelan (Naja Melan)
12:47 PM Ruby master Bug #10837: spatting a single element array produces an array instead of a single value for return and next
bug hit wrote:
> Nobuyoshi Nakada wrote:
> > It's similar to `return *[1, 2]`.
>
> Please clarify your position,...
najamelan (Naja Melan)
12:59 PM Ruby master Feature #12593 (Rejected): Allow compound assignements to work when destructuring arrays
~~~ ruby
a = [ 'a', 'b' ]
b = [ 'c', 'd' ]
def c
return [ 'A', 'B' ], [ 'C', 'D' ]
end
a, b += c # ...
najamelan (Naja Melan)

Also available in: Atom