RubyBugs (A Nonymous)
- Login: RubyBugs
- Email: msiegel@riverdaletechinc.com
- Registered on: 04/30/2010
- Last sign in: 11/11/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 2 | 6 | 8 |
Like
Activity
06/10/2024
- 05:05 PM Ruby master Feature #19001: Data: Add #to_h symmetric to constructor with keyword args [Follow-on to #16122 Data: simple immutable value object]
- Agreed, this need ended up being met by the initial implementation! Thank you, closing this ticket.
zverok (Victor...
12/07/2022
- 08:44 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- Hi @mame! Thank you for your questions.
mame (Yusuke Endoh) wrote in #note-24:
> Thanks for the update.
>
> Now I h...
12/03/2022
- 04:29 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
> …treats unknown keywords passed to this method as an error. I had already made it clear that I thought it should ...- 02:09 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- ufuk (Ufuk Kayserilioglu) wrote in #note-28:
> Thank you @matz. I will update the implementation to make the no-args ...
11/30/2022
- 07:58 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- For comparison, you can plug in the following example code for a faster implementation of `#with` and it should work ...
- 07:52 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- mame (Yusuke Endoh) wrote in #note-17:
> @RubyBugs Please check my comment https://bugs.ruby-lang.org/issues/19000#no...
11/28/2022
- 07:15 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- bdewater (Bart de Water) wrote in #note-15:
> I like `dup` as the method name 👍
>
Is there a way we could get m...
10/26/2022
- 06:16 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- > it should be an error to supply a keyword argument that the Data class does not have as members
+1 Agree!
**P...
10/21/2022
- 05:22 PM Ruby master Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- Example from [value_semantics](https://github.com/tomdalling/value_semantics) gem which uses `with` as well:
```ruby...
09/08/2022
- 07:50 PM Ruby master Feature #16122: Data: simple immutable value object
- I've filed a 2nd follow-up ticket [here](https://bugs.ruby-lang.org/issues/19001) for the Symmetric `#to_h` method wh...
Also available in: Atom