spec/dummy/app/controllers/pets_using_auto_views_controller.rb
# to_json (an instance method) generates the actual view
to_json (an instance method) generates the actual view
to_json ( an instance method ) generates the actual view
def to_json
    { note: "in an actual implementation of SelfDocumentingView, this method
             would call each v_<name>__<type> method and include its output
             in the response as a (<name>: <value>) pair"
    }
  end
def to_json { note : "in an actual implementation of SelfDocumentingView, this method
             would call each v_<name>__<type> method and include its output
             in the response as a (<name>: <value>) pair" } end
to_json (an instance method) generates the actual view
to_json ( an instance method ) generates the actual view