instance method
respond_to_missing?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
respond_to_missing?(method_name, include_private = false)
No documentation comment.
Parameters
-
method_namereq -
include_privateopt = false
Source
# File activemodel/lib/active_model/schematized_json.rb, line 97
def respond_to_missing?(method_name, include_private = false)
@schema.key?(method_name.to_s.remove(/[?=]/).to_sym) || super
end
Defined in activemodel/lib/active_model/schematized_json.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::SchematizedJson::DataAccessor