Skip to content
Natural language time span parsing
Ruby
Find file
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.