Sha256: 71ce9ec426e8498c6170272c277c61c806ae95cb2992451484c268ee5d34506b

Contents?: true

Size: 222 Bytes

Versions: 37

Compression:

Stored size: 222 Bytes

Contents

module Datagrid

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end

  class Configuration < Struct.new(:date_formats, :datetime_formats)
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
datagrid-1.6.3 lib/datagrid/configuration.rb
datagrid-1.6.2 lib/datagrid/configuration.rb
datagrid-1.6.1 lib/datagrid/configuration.rb
datagrid-1.6.0 lib/datagrid/configuration.rb
datagrid-1.5.9 lib/datagrid/configuration.rb
datagrid-1.5.8 lib/datagrid/configuration.rb
datagrid-1.5.7 lib/datagrid/configuration.rb
datagrid-1.5.6 lib/datagrid/configuration.rb
datagrid-1.5.5 lib/datagrid/configuration.rb
datagrid-1.5.4 lib/datagrid/configuration.rb
datagrid-1.5.3 lib/datagrid/configuration.rb
datagrid-1.5.2 lib/datagrid/configuration.rb
datagrid-1.5.1 lib/datagrid/configuration.rb
datagrid-1.5.0 lib/datagrid/configuration.rb
datagrid-1.4.4 lib/datagrid/configuration.rb
datagrid-1.4.3 lib/datagrid/configuration.rb
datagrid-1.4.2 lib/datagrid/configuration.rb
datagrid-1.4.1 lib/datagrid/configuration.rb
datagrid-1.4.0 lib/datagrid/configuration.rb
datagrid-1.3.9 lib/datagrid/configuration.rb