mirror of
https://github.com/TangentFoxy/semver.lua.git
synced 2025-07-28 02:52:21 +00:00
Update README.textile
This commit is contained in:
@@ -6,7 +6,7 @@ See http://semver.org/ for details about semantic versioning.
|
||||
|
||||
h1. Documentation
|
||||
|
||||
``` lua
|
||||
<pre class="lua">
|
||||
local v = require 'semver'
|
||||
|
||||
-- accepts integers and numbers
|
||||
@@ -40,7 +40,7 @@ h1. Documentation
|
||||
v(1,2,3):nextMinor() -- v1.3.0 . Notice the patch resets to 0
|
||||
v(1,2,3):nextMajor() -- v2.0.0 . Minor and patch are reset to 0
|
||||
|
||||
```
|
||||
</pre>
|
||||
|
||||
|
||||
h1. Installation
|
||||
|
Reference in New Issue
Block a user