class Oj::Bag
def respond_to?(m)
-
(Boolean)
- true for any method that matches an instance
Parameters:
-
m
(Symbol
) -- method symbol
def respond_to?(m) return true if super instance_variables.include?(:"@#{m}") end
(Boolean)
- true for any method that matches an instance
m
(Symbol
)
-- method symbol
def respond_to?(m) return true if super instance_variables.include?(:"@#{m}") end