diff --git a/gems/activemodel/7.1/activemodel-7.1.rbs b/gems/activemodel/7.1/activemodel-7.1.rbs index 13680671..b6d9b53f 100644 --- a/gems/activemodel/7.1/activemodel-7.1.rbs +++ b/gems/activemodel/7.1/activemodel-7.1.rbs @@ -1,3 +1,11 @@ +module ActiveModel + module Access + def slice: (*Symbol | String) -> ActiveSupport::HashWithIndifferentAccess[Symbol, untyped] + + def values_at: (*Symbol | String) -> Array[untyped] + end +end + module ActiveModel module API extend ActiveSupport::Concern @@ -42,3 +50,9 @@ module ActiveModel def strict_match?: (Symbol | String attribute, (Symbol | String)? type, **untyped options) -> bool end end + +module ActiveModel + module Model + include ActiveModel::Access + end +end