タグ

ブックマーク / devhints.io (2)

  • Rdoc cheatsheet

    # Foo. # # @example # # y # g # # @param [String] param_name The xx and xx. # # @see https://example.com/ # # @return [true] if so # @param [Hash] opts the options to create a message with. # @option opts [String] :subject The subject # @option opts [String] :from ('nobody') From address # @option opts [String] :to Recipient email # @option opts [String] :body ('') The email's body # @param (see U

    Rdoc cheatsheet
    mkusaka
    mkusaka 2022/01/25
  • Jsdoc cheatsheet

    /** * This is a function. * * @param {string} n - A string param * @param {string} [o] - A optional string param * @param {string} [d=DefaultValue] - A optional string param * @return {string} A good string * * @example * * foo('hello') */ function foo(n, o, d) { return n } See: https://jsdoc.app/index.html

    Jsdoc cheatsheet
    mkusaka
    mkusaka 2019/12/31
  • 1