General

Profile

TylerRick (Tyler Rick)

  • Login: TylerRick
  • Email: tyler@tylerrick.com
  • Registered on: 08/27/2008
  • Last sign in: 02/16/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 2 5

Activity

06/09/2021

04:55 AM Ruby master Feature #17942 (Open): Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
This proposal builds on the proposed `initialize(@a, @b)` instance var assignment shortcut syntax described in #15192... TylerRick (Tyler Rick)
04:21 AM Ruby master Feature #15192: Introduce a new "shortcut assigning" syntax to convenient setup instance variables
## Same feature in TypeScript
It's worth mentioning that other languages have a shortcut for assignment var assignme...
TylerRick (Tyler Rick)

07/29/2020

12:14 AM Ruby master Feature #15580: Proposal: method addition to class String called .indices ( String#indices )
duerst (Martin Dürst) wrote in #note-1:
> Just a quick question: Should the results include overlaps or not? I.e. is ...
TylerRick (Tyler Rick)
12:12 AM Ruby master Feature #15580: Proposal: method addition to class String called .indices ( String#indices )
See also #6596, which proposes adding a similar method to `Array` (`Array#indexes`).
I don't know which term ("ind...
TylerRick (Tyler Rick)

07/28/2020

11:53 PM Ruby master Feature #17056 (Open): Array#index: Allow specifying the position to start search as in String#index
I have a use case of finding the first matching line within a given section in a file. After finding the line number ... TylerRick (Tyler Rick)
11:03 PM Ruby master Feature #6596: New method `Array#indexes`
I'm not very good at writing C, but here is a reference implementation in Ruby (plus unit tests) in case it's helpful... TylerRick (Tyler Rick)
09:20 PM Ruby master Feature #6596: New method `Array#indexes`
I would really like to see this included in Ruby. I have wished for this method several times in the past, and again ... TylerRick (Tyler Rick)

07/20/2020

07:58 PM Ruby master Feature #11815: Proposal for method `Array#difference`
I would really like to see this included in Ruby.
Is there anything we can do to move this forward?
Do we just ...
TylerRick (Tyler Rick)

04/18/2019

11:41 PM Ruby master Feature #8834: Kernel#load_relative
This seems like a curious omission. It would be useful to have a `load_relative` that loads relative to the script pa... TylerRick (Tyler Rick)

01/01/2019

11:14 PM Ruby master Feature #15492 (Open): Let #dig take a "default value" block like Hash#fetch does
[fetch](https://ruby-doc.org/core-2.6/Hash.html#method-i-fetch) provides multiple ways to handle the case where a key... TylerRick (Tyler Rick)

Also available in: Atom