Sha256: 76f12941fb4d341dd0b5d81e34ce9adc0509e1df2e86ba97071abf30c5a34693
Contents?: true
Size: 348 Bytes
Versions: 24
Compression:
Stored size: 348 Bytes
Contents
module Rubyvis def self.Format Rubyvis::Format end module Format def self.re(s) s.gsub(/[\\\^\$\*\+\?\[\]\(\)\.\{\}]/, "\\$&") end def self.number Format::Number.new end def self.date(pattern) Format::Date.new(pattern) end end end require 'rubyvis/format/number' require 'rubyvis/format/date'
Version data entries
24 entries across 24 versions & 1 rubygems