Add APIs on class::Spec and module::Spec for defining constants #27
Labels
A-core
Area: Core traits and interpreter-agnostic Ruby Core and Ruby stdlib implementations.
A-ruby-core
Area: Ruby Core types.
A-ruby-stdlib
Area: Ruby Standard Library packages.
B-mruby
Backend: Implementation of artichoke-core using mruby.
Currently, regexp::init defines constants with eval and
format!
.Add an API that allows defining a constant that takes anything that implements
FromMrb<Value>
in the same way that you add a method to these specs.The text was updated successfully, but these errors were encountered: