You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Available constants, methods and signatures may vary depending on the version of the gem.
rbi-central should provide a way to annotates specific versions of a gem
tapioca should pull only relevant annotations for the considered version of a gem
Possible solution
Annotate the annotations with the gem version concerned when we need to make a distinction between two versions:
moduleFoo# This annotation is defined in all versionsdeffoo;end# This annotation is only available in versions > 1.0# @version > 1.0defbar(x);end# This annotation is only available in versions <= 1.0# @version <= 1.0defbar;endend
The text was updated successfully, but these errors were encountered:
A comment above method/constant definitions with the format # @version > x.y.z can be used to specify versions. tapioca annotations command will only pick applicable definitions.
Problem
Available constants, methods and signatures may vary depending on the version of the gem.
rbi-central
should provide a way to annotates specific versions of a gemtapioca
should pull only relevant annotations for the considered version of a gemPossible solution
Annotate the annotations with the gem version concerned when we need to make a distinction between two versions:
The text was updated successfully, but these errors were encountered: