Update README.textile

This commit is contained in:
Enrique García
2012-01-14 03:38:04 +01:00
parent 2229a189bd
commit 84fc954877

View File

@@ -6,7 +6,7 @@ See http://semver.org/ for details about semantic versioning.
h1. Documentation h1. Documentation
``` lua <pre class="lua">
local v = require 'semver' local v = require 'semver'
-- accepts integers and numbers -- 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):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 v(1,2,3):nextMajor() -- v2.0.0 . Minor and patch are reset to 0
``` </pre>
h1. Installation h1. Installation