Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Natural language time span parsing
Ruby
tag: v0.0.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
README.rdoc
Rakefile
VERSION
spanner.gemspec

README.rdoc

Spanner

Easy way to parse natural language time spans as periods expressed in seconds. Supports float point notions of spans as well.

Usage

require 'spanner'

Spanner.parse('1s')
=> 1

Spanner.parse('23 hours 12 minutes')
=> 83520
Something went wrong with that request. Please try again.