--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns true> if obj responds to the given method. Private methods are included in the search only if the optional second parameter evaluates to true.
full_name: Object#respond_to?
is_singleton: false
name: respond_to?
params: |
obj.respond_to?(symbol, include_private=false) => true or false
visibility: public