Sha256: 8178782bf4918eefaed59f4d8cfe2d006661c67096b3e834231e4cdea9e7ed9a
Contents?: true
Size: 916 Bytes
Versions: 4
Compression:
Stored size: 916 Bytes
Contents
require 'date' require 'forwardable' require 'timeliness/configuration' require 'timeliness/helpers' require 'timeliness/definitions' require 'timeliness/format' require 'timeliness/format_set' require 'timeliness/parser' require 'timeliness/version' module Timeliness class << self extend Forwardable def_delegators Parser, :parse, :_parse def_delegators Definitions, :add_formats, :remove_formats, :use_us_formats, :use_euro_formats attr_accessor :configuration def_delegators :configuration, :default_timezone, :date_for_time_type, :ambiguous_date_format, :ambiguous_year_threshold def_delegators :configuration, :default_timezone=, :date_for_time_type=, :ambiguous_date_format=, :ambiguous_year_threshold= end def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) end end Timeliness::Definitions.compile_formats
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
timeliness-0.5.0 | lib/timeliness.rb |
timeliness-0.4.5 | lib/timeliness.rb |
timeliness-0.4.4 | lib/timeliness.rb |
timeliness-0.4.3 | lib/timeliness.rb |