书栈网 · BookStack 本次搜索耗时 0.034 秒,为您找到 50777 个相关结果.
  • Hooks

    Hooks Hooks Special macros exist that are invoked in some situations as hooks, at compile time: inherited is invoked when a subclass is defined. @type is the inheriting type...
  • HTTP Caching

    205 2022-11-24 《Hanami v1.3 Guides》
    Cache Control Expires Conditional GET ETag Last Modified We refer to HTTP caching as the set of techniques for HTTP/1.1 and implemented by browser vendors in order to make f...
  • Annotations

    Annotations Applications Object Serialization ORMs Fields Key/value Positional Reading Reading Multiple Annotations Annotations Annotations can be used to add metadata t...
  • Annotations

    Annotations Applications Object Serialization ORMs Fields Key/value Positional Reading Reading Multiple Annotations Annotations Annotations can be used to add metadata t...
  • intervalLengthSum

    intervalLengthSum intervalLengthSum Calculates the total length of union of all ranges (segments on numeric axis). Syntax intervalLengthSum ( start , end ) Arguments ...
  • Type inference

    Type inference With type restrictions Without type restrictions 1. Assigning a literal value 2. Assigning the result of invoking the class method new 3. Assigning a variable th...
  • Type inference

    Type inference With type restrictions Without type restrictions 1. Assigning a literal value 2. Assigning the result of invoking the class method new 3. Assigning a variable th...
  • 宏 宏作用域 插值 宏调用 条件语句 迭代 宏方法定义 钩子 变量刷新 宏 宏是一些预编译的方法(在编译时被加入到抽像语法树中),这些方法必须是完整有效的Crystal代码。 macro define_method ( name , content ) def {{ name }} {{ content...
  • Newlines style guide

    627 2020-07-27 《Gitlab 中文文档》
    Newlines style guide Newlines style guide Rule: separate code with newlines only to group together related logic Rule: separate code and block with newlines Newline before block ...
  • Cookies

    141 2022-11-24 《Hanami v1.3 Guides》
    Enable Cookies Settings Usage Example Enable Cookies Hanami applies “batteries included, but not installed” philosophy. Cookies are a feature that is present but needs to be...