ruby-concurrency / concurrent-ruby

Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
https://ruby-concurrency.github.io/concurrent-ruby/
Other
5.71k stars 419 forks source link

Keyword parameters for MutableStruct in Ruby 2.5.0 #694

Open ilyacherevkov opened 6 years ago

ilyacherevkov commented 6 years ago

Ruby 2.5.0 introduced Struct keyword parameters by adding "keyword_init: true" optional parameter. Mutable / ImmutableStruct / SettableStruct don't have support for those.

pitr-ch commented 6 years ago

Thanks for the suggestion.

numeraltwo commented 6 years ago

Hey @pitr-ch I've got something working for this if you are still looking for a contributor. If so, I'll refine and make a PR in the next few days.

pitr-ch commented 6 years ago

@numeraltwo that would be great 👍 Please go ahead and create a PR.