YARD Cheatsheat Method params @param with one option # @param user [User] Description def method(user) end @param with multiple options # @param value [String, ActionController::Parameters] Description def method(value) end value can be instance of String or ActionController::Parameters.