String extensions used by PlanDeliver
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
README
init.rb

README

-----------------------------------------------------------------------
-- String Extensions Plugin
-----------------------------------------------------------------------

The plugin extends the String class with the following methods:

	* numeric?: Returns true if the string is numeric (integer or float)
	* date?: Returns true if the string is in a date format (without checking for validity)
	* typed: Returns the casted value of the string according to numeric? and date?