Methods and instance variables Getters and setters Redefining methods, and previous_def Catch-all initialization Methods and instance variables We can simplify our constructo...
Blocks and Procs Overloads Yield arguments Short one-parameter syntax yield value Type restrictions break next with … yield Unpacking block parameters Performance Bloc...
Blocks and Procs Overloads Yield arguments Short one-parameter syntax yield value Type restrictions break next with … yield Unpacking block parameters Performance Blo...
Indentation Space Blank line Maximum length per line Variable Table String Function Module Error handling Indentation Use 4 spaces as an indent: -- No if a then ...
Indentation Space Blank line Maximum length per line Variable Table String Function Module Error handling Indentation Use 4 spaces as an indent: -- No if a then ...
Indentation Space Blank line Maximum length per line Variable Table String Function Module Error handling title APISIX Lua Coding Style Guide Indentation Use 4 space...
Indentation Space Blank line Maximum length per line Variable Table String Function Module Error handling Indentation Use 4 spaces as an indent: -- No if a then ...
Range type.Int64Range type.DoubleRange Range type.Int64Range [type.Int64Range proto] Specifies the int64 start and end of the range using half-open interval semantics [st...
Range type.Int64Range type.DoubleRange Range type.Int64Range [type.Int64Range proto] Specifies the int64 start and end of the range using half-open interval semantics [st...
Conditional Expressions Conditional keywords Ternary operator Nested conditionals Conditional Expressions Conditional keywords Never use then for multi-line if/unless ....